summary refs log tree commit diff
path: root/tools/perf/util/sort.c
diff options
context:
space:
mode:
authorRoberto Vitillo <ravitillo@lbl.gov>2013-09-11 14:09:32 +0900
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-10-09 16:30:14 -0300
commit2f48fcd84e9e68392e29c59204a4a434311d49e9 (patch)
treeec83c645d4ef597cfede623972615b2e01aa0343 /tools/perf/util/sort.c
parent2cc9d0ef577975abb3ebce7d5978559ec1c73633 (diff)
downloadlinux-2f48fcd84e9e68392e29c59204a4a434311d49e9.tar.gz
perf tools: Implement addr2line directly using libbfd
When the srcline sort key is used , the external addr2line utility needs
to be run for each hist entry to get the srcline info.  This can consume
quite a time if one has a huge perf.data file.

So rather than executing the external utility, implement it internally
and just call it.  We can do it since we've linked with libbfd already.

Signed-off-by: Roberto Agostino Vitillo <ravitillo@lbl.gov>
Reviewed-by: Jiri Olsa <jolsa@redhat.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1378876173-13363-9-git-send-email-namhyung@kernel.org
[ Use a2l_data struct instead of static globals ]
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/sort.c')
0 files changed, 0 insertions, 0 deletions