]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Only print base source file for srcline
authorAndi Kleen <ak@linux.intel.com>
Thu, 13 Nov 2014 02:05:25 +0000 (18:05 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Nov 2014 15:33:47 +0000 (12:33 -0300)
commitf7c2d98d75f5289cee1ca193c547224c2f1e9b0e
treec7cd0c4ee9e4a8c47f2e918f97768936fa5ce781
parent6f204df102923b974f6626c8beff9696b87d21fa
perf tools: Only print base source file for srcline

For perf report with --sort srcline only print the base source file
name. This makes the results generally fit much better to the screen.
The path is usually not that useful anyways because it is often from
different systems.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1415844328-4884-8-git-send-email-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/srcline.c