https://github.com/torvalds/linux
Revision 07496eeab577eef1d4912b3e1b502a2b52002ac3 authored by Ross Zwisler on 15 February 2023, 22:33:49 UTC, committed by Michael S. Tsirkin on 09 June 2023, 16:08:08 UTC
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

A few spots in tools/virtio still refer to this older debugfs
path, so let's update them to avoid confusion.

Signed-off-by: Ross Zwisler <zwisler@google.com>
Message-Id: <20230215223350.2658616-6-zwisler@google.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Mukesh Ojha <quic_mojha@quicinc.com>
1 parent beee7fd
History
Tip revision: 07496eeab577eef1d4912b3e1b502a2b52002ac3 authored by Ross Zwisler on 15 February 2023, 22:33:49 UTC
tools/virtio: use canonical ftrace path
Tip revision: 07496ee
File Mode Size
Makefile -rw-r--r-- 228 bytes
callchain.c -rw-r--r-- 5.6 KB
core.c -rw-r--r-- 330.5 KB
hw_breakpoint.c -rw-r--r-- 27.1 KB
hw_breakpoint_test.c -rw-r--r-- 9.6 KB
internal.h -rw-r--r-- 5.8 KB
ring_buffer.c -rw-r--r-- 23.0 KB
uprobes.c -rw-r--r-- 57.0 KB

back to top