]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
bpf: adjust path to trace_output sample eBPF program
authorTobias Klauser <tklauser@distanz.ch>
Tue, 10 Jun 2025 14:07:56 +0000 (16:07 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 10 Jun 2025 15:10:21 +0000 (08:10 -0700)
The sample file was renamed from trace_output_kern.c to
trace_output.bpf.c in commit d4fffba4d04b ("samples/bpf: Change _kern
suffix to .bpf with syscall tracing program"). Adjust the path in the
documentation comment for bpf_perf_event_output.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Link: https://lore.kernel.org/r/20250610140756.16332-1-tklauser@distanz.ch
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
include/uapi/linux/bpf.h
tools/include/uapi/linux/bpf.h

index 194ed9891b40370abefdca714bf47056d3aa864a..39e7818cca803101262331cd44994434591974dc 100644 (file)
@@ -2409,7 +2409,7 @@ union bpf_attr {
  *             into it. An example is available in file
  *             *samples/bpf/trace_output_user.c* in the Linux kernel source
  *             tree (the eBPF program counterpart is in
- *             *samples/bpf/trace_output_kern.c*).
+ *             *samples/bpf/trace_output.bpf.c*).
  *
  *             **bpf_perf_event_output**\ () achieves better performance
  *             than **bpf_trace_printk**\ () for sharing data with user
index 194ed9891b40370abefdca714bf47056d3aa864a..39e7818cca803101262331cd44994434591974dc 100644 (file)
@@ -2409,7 +2409,7 @@ union bpf_attr {
  *             into it. An example is available in file
  *             *samples/bpf/trace_output_user.c* in the Linux kernel source
  *             tree (the eBPF program counterpart is in
- *             *samples/bpf/trace_output_kern.c*).
+ *             *samples/bpf/trace_output.bpf.c*).
  *
  *             **bpf_perf_event_output**\ () achieves better performance
  *             than **bpf_trace_printk**\ () for sharing data with user