Skip to content

Commit 640fb7c

Browse files
mykyta5qmonnet
authored andcommitted
bpf: add _impl suffix for bpf_stream_vprintk() kfunc
Rename bpf_stream_vprintk() to bpf_stream_vprintk_impl(). This makes bpf_stream_vprintk() follow the already established "_impl" suffix-based naming convention for kfuncs with the bpf_prog_aux argument provided by the verifier implicitly. This convention will be taken advantage of with the upcoming KF_IMPLICIT_ARGS feature to preserve backwards compatibility to BPF programs. Acked-by: Andrii Nakryiko <[email protected]> Signed-off-by: Mykyta Yatsenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Ihor Solodrai <[email protected]>
1 parent 6a7a050 commit 640fb7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/bpftool-prog.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ bpftool prog tracelog
182182

183183
bpftool prog tracelog { stdout | stderr } *PROG*
184184
Dump the BPF stream of the program. BPF programs can write to these streams
185-
at runtime with the **bpf_stream_vprintk**\ () kfunc. The kernel may write
185+
at runtime with the **bpf_stream_vprintk_impl**\ () kfunc. The kernel may write
186186
error messages to the standard error stream. This facility should be used
187187
only for debugging purposes.
188188

0 commit comments

Comments
 (0)