Skip to content

Commit 2d72dd1

Browse files
tklauserAlexei Starovoitov
authored andcommitted
bpf: adjust path to trace_output sample eBPF program
The sample file was renamed from trace_output_kern.c to trace_output.bpf.c in commit d4fffba ("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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
1 parent 5fcf896 commit 2d72dd1

File tree

2 files changed

+2
-2
lines changed
  • include/uapi/linux
  • tools/include/uapi/linux

2 files changed

+2
-2
lines changed

include/uapi/linux/bpf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2409,7 +2409,7 @@ union bpf_attr {
24092409
* into it. An example is available in file
24102410
* *samples/bpf/trace_output_user.c* in the Linux kernel source
24112411
* tree (the eBPF program counterpart is in
2412-
* *samples/bpf/trace_output_kern.c*).
2412+
* *samples/bpf/trace_output.bpf.c*).
24132413
*
24142414
* **bpf_perf_event_output**\ () achieves better performance
24152415
* than **bpf_trace_printk**\ () for sharing data with user

tools/include/uapi/linux/bpf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2409,7 +2409,7 @@ union bpf_attr {
24092409
* into it. An example is available in file
24102410
* *samples/bpf/trace_output_user.c* in the Linux kernel source
24112411
* tree (the eBPF program counterpart is in
2412-
* *samples/bpf/trace_output_kern.c*).
2412+
* *samples/bpf/trace_output.bpf.c*).
24132413
*
24142414
* **bpf_perf_event_output**\ () achieves better performance
24152415
* than **bpf_trace_printk**\ () for sharing data with user

0 commit comments

Comments
 (0)