Skip to content

Commit c2f92e8

Browse files
rzwislerrostedt
authored andcommitted
tools/kvm_stat: 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 A comment in kvm_stat still refers to this older debugfs path, so let's update it to avoid confusion. Link: https://lkml.kernel.org/r/[email protected] Cc: "Tobin C. Harding" <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Masami Hiramatsu <[email protected]> Cc: Shuah Khan <[email protected]> Cc: Tycho Andersen <[email protected]> Acked-by: Paolo Bonzini <[email protected]> Reviewed-by: Steven Rostedt (Google) <[email protected]> Reviewed-by: Mukesh Ojha <[email protected]> Signed-off-by: Ross Zwisler <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
1 parent d1c27c5 commit c2f92e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/kvm/kvm_stat/kvm_stat

+1-1
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ class TracepointProvider(Provider):
627627
name)'.
628628
629629
All available events have directories under
630-
/sys/kernel/debug/tracing/events/ which export information
630+
/sys/kernel/tracing/events/ which export information
631631
about the specific event. Therefore, listing the dirs gives us
632632
a list of all available events.
633633

0 commit comments

Comments
 (0)