|author||Andi Kleen <email@example.com>||2015-08-07 15:24:05 -0700|
|committer||Arnaldo Carvalho de Melo <firstname.lastname@example.org>||2015-08-10 11:58:05 -0300|
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 <email@example.com> Cc: Jiri Olsa <firstname.lastname@example.org> Cc: Namhyung Kim <email@example.com> Link: http://firstname.lastname@example.org Signed-off-by: Arnaldo Carvalho de Melo <email@example.com>
Diffstat (limited to 'tools/perf/Documentation/perf-script.txt')
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/Documentation/perf-script.txt b/tools/perf/Documentation/perf-script.txt
index e2fec5fc21e7..8e9be1f9c1dd 100644
@@ -260,6 +260,9 @@ OPTIONS
To disable decoding entirely, use --no-itrace.
+ Show the full path for source files for srcline output.