aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/build-id.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2018-04-24 11:32:30 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-04-26 13:47:08 -0300
commitcc5f02f2be8d3354986bad5703ee8a983872f140 (patch)
tree0ed511be0a3c982637b5a83b9b5052606c80f05e /tools/perf/util/build-id.c
parentperf thread: Introduce thread__find_symbol() (diff)
downloadlinux-dev-cc5f02f2be8d3354986bad5703ee8a983872f140.tar.xz
linux-dev-cc5f02f2be8d3354986bad5703ee8a983872f140.zip
perf script: Use thread__find_symbol() instead of ad-hoc equivalent
In dc323ce8e72d ("perf script: Enable printing of branch stack") it first tries to find the map for an address, then the symbol in the DSO backing that map, for that address, well, this is what thread__find_symbol() does, so just use it and make the code shorter. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Stephane Eranian <eranian@google.com> Cc: Wang Nan <wangnan0@huawei.com> Link: https://lkml.kernel.org/n/tip-03nx3aod955yqnf9l06im28j@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/build-id.c')
0 files changed, 0 insertions, 0 deletions