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 <andrii@kernel.org> Signed-off-by: Mykyta Yatsenko <yatsenko@meta.com> Link: https://lore.kernel.org/r/20251104-implv2-v3-2-4772b9ae0e06@meta.com Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Ihor Solodrai <ihor.solodrai@linux.dev>
1 parent 6a7a050 commit 640fb7c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)