diff options
author | 2014-11-11 12:04:54 +0200 | |
---|---|---|
committer | 2014-11-19 12:33:47 -0300 | |
commit | ee205503f2333d639550eaed37abb455733510a3 (patch) | |
tree | 48b2aef94fb0d2e275c83bfd8addacabe4973e46 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | perf test: fix typo in python test (diff) | |
download | linux-dev-ee205503f2333d639550eaed37abb455733510a3.tar.xz linux-dev-ee205503f2333d639550eaed37abb455733510a3.zip |
perf tools: Fix annotation with kcore
Patch "perf tools: Fix build-id matching on vmlinux" breaks annotation
with kcore. The problem is that symbol__annotate() first gets the
filename based on the build-id which was previously not set.
This patch provides a quick fix, however there should probably be only
one way to determine the filename. e.g. symbol__annotate() should use
the same way as dso__data_fd().
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1415700294-30816-1-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions