path: root/tools/perf/Documentation/perf-report.txt
diff options
authorAndi Kleen <>2015-08-07 15:24:05 -0700
committerArnaldo Carvalho de Melo <>2015-08-10 11:58:05 -0300
commita9710ba091b0dcdace90f791706e9192313ffb7c (patch)
tree8d6e07ac2f6632de86779732095df9b61cc3a575 /tools/perf/Documentation/perf-report.txt
parent076a30c411ba2b91a18d44a5a01977035cdd7716 (diff)
perf tools: Support full source file paths for srcline
For perf report/script srcline currently only the base file name of the source file is printed. This is a good default because it usually fits on the screen. But in some cases we want to know the full file name, for example to aggregate hits per file. In the later case we need more than the base file name to resolve file naming collisions: for example the kernel source has ~70 files named "core.c" It's also useful as input to post processing tools which want to point to the right file. Add a flag to allow full file name output. Add an option to perf report/script to enable this option. Signed-off-by: Andi Kleen <> Cc: Jiri Olsa <> Cc: Namhyung Kim <> Link: Signed-off-by: Arnaldo Carvalho de Melo <>
Diffstat (limited to 'tools/perf/Documentation/perf-report.txt')
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/Documentation/perf-report.txt b/tools/perf/Documentation/perf-report.txt
index 960da203ec11..1a782ef02b68 100644
--- a/tools/perf/Documentation/perf-report.txt
+++ b/tools/perf/Documentation/perf-report.txt
@@ -354,6 +354,8 @@ OPTIONS
To disable decoding entirely, use --no-itrace.
+ Show the full path for source files for srcline output.