summaryrefslogtreecommitdiff
path: root/tools/virtio/virtio-trace/README
diff options
context:
space:
mode:
authorRoss Zwisler <zwisler@chromium.org>2023-02-15 15:33:49 -0700
committerMichael S. Tsirkin <mst@redhat.com>2023-06-09 12:08:08 -0400
commit07496eeab577eef1d4912b3e1b502a2b52002ac3 (patch)
tree4ec428503f85cdd444147505e0d43861e47098d2 /tools/virtio/virtio-trace/README
parentbeee7fdb5b56a46415a4992d28dd4c2d06eb52df (diff)
tools/virtio: 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 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>
Diffstat (limited to 'tools/virtio/virtio-trace/README')
-rw-r--r--tools/virtio/virtio-trace/README2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/virtio/virtio-trace/README b/tools/virtio/virtio-trace/README
index 4fb9368bf751..0127ff0c54b0 100644
--- a/tools/virtio/virtio-trace/README
+++ b/tools/virtio/virtio-trace/README
@@ -95,7 +95,7 @@ Run
1) Enable ftrace in the guest
<Example>
- # echo 1 > /sys/kernel/debug/tracing/events/sched/enable
+ # echo 1 > /sys/kernel/tracing/events/sched/enable
2) Run trace agent in the guest
This agent must be operated as root.