• Ross Zwisler's avatar
    perf tools docs: Use canonical ftrace path · 1df49ef9
    Ross Zwisler authored
    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 the perf docs still refer to this older debugfs path, so
    let's update them to avoid confusion.
    Signed-off-by: default avatarRoss Zwisler <zwisler@google.com>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Jiri Olsa <jolsa@kernel.org>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Steven Rostedt (VMware) <rostedt@goodmis.org>
    Cc: linux-trace-kernel@vger.kernel.org
    Link: http://lore.kernel.org/lkml/20230130181915.1113313-5-zwisler@google.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    1df49ef9
perf-script-perl.txt 7.2 KB