tools/virtio: use canonical ftrace path
authorRoss Zwisler <zwisler@chromium.org>
Wed, 15 Feb 2023 22:33:49 +0000 (15:33 -0700)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 9 Jun 2023 16:08:08 +0000 (12:08 -0400)
commit07496eeab577eef1d4912b3e1b502a2b52002ac3
tree4ec428503f85cdd444147505e0d43861e47098d2
parentbeee7fdb5b56a46415a4992d28dd4c2d06eb52df
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>
tools/virtio/virtio-trace/README
tools/virtio/virtio-trace/trace-agent.c