Files
linux-cix/include/uapi/linux
Ross Zwisler 27d7fdf06f 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 comments and samples in the bpf code still refer to this older
debugfs path, so let's update them to avoid confusion.  There are a few
spots where the bpf code explicitly checks both tracefs and debugfs
(tools/bpf/bpftool/tracelog.c and tools/lib/api/fs/fs.c) and I've left
those alone so that the tools can continue to work with both paths.

Signed-off-by: Ross Zwisler <zwisler@google.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Link: https://lore.kernel.org/r/20230313205628.1058720-2-zwisler@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2023-03-13 21:51:30 -07:00
..
2022-09-15 09:08:09 +02:00
2022-04-19 13:13:47 +01:00
2022-08-11 10:31:19 -07:00
2023-03-13 21:51:30 -07:00
2022-06-07 10:20:42 -07:00
2023-02-10 17:54:45 -08:00
2023-01-20 09:33:22 +00:00
2022-08-23 14:54:54 -05:00
2023-01-20 12:23:07 +00:00
2022-04-04 08:55:23 +02:00
2023-01-18 17:12:37 -08:00
2022-08-10 13:49:50 +01:00
2023-02-16 13:50:50 +01:00
2022-03-11 08:28:05 -08:00
2022-06-03 20:09:27 +08:00
2022-09-20 09:13:38 +02:00
2022-10-19 09:01:44 +02:00
2022-12-01 20:06:06 -08:00
2022-09-07 16:46:03 +02:00
2022-09-20 09:13:38 +02:00
2023-01-04 14:44:13 -07:00
2023-01-26 10:52:18 +01:00
2022-11-17 11:04:23 -08:00
2022-09-27 17:29:09 -07:00
2023-02-20 19:26:56 -05:00
2022-12-05 10:30:47 +01:00