diff options
| author | Ross Zwisler <[email protected]> | 2023-03-13 20:56:28 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2023-03-14 04:51:30 +0000 |
| commit | ab4c15feb2ebcf9f4abe31457d7cbc8f3de9c2ab (patch) | |
| tree | d66282c6c7ff3afb5242d46dfb45925ec17d206f /tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c | |
| parent | bpf: use canonical ftrace path (diff) | |
| download | kernel-ab4c15feb2ebcf9f4abe31457d7cbc8f3de9c2ab.tar.gz kernel-ab4c15feb2ebcf9f4abe31457d7cbc8f3de9c2ab.zip | |
selftests/bpf: use canonical ftrace path
The canonical location for the tracefs filesystem is at
/sys/kernel/tracing.
But, from Documentation/trace/ftrace.rst:
Before 4.1, all ftrace tracing control files were within the debugfs
file system, which is typically located at /sys/kernel/debug/tracing.
For backward compatibility, when mounting the debugfs file system,
the tracefs file system will be automatically mounted at:
/sys/kernel/debug/tracing
Many tests in the bpf selftest code still refer to this older debugfs
path, so let's update them to avoid confusion.
Signed-off-by: Ross Zwisler <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Steven Rostedt (Google) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c')
0 files changed, 0 insertions, 0 deletions
