diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2018-04-24 11:32:30 -0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-04-26 13:47:08 -0300 |
| commit | cc5f02f2be8d3354986bad5703ee8a983872f140 (patch) | |
| tree | 0ed511be0a3c982637b5a83b9b5052606c80f05e /tools/perf/scripts/python/compaction-times.py | |
| parent | 4546263d72e22ea84b49dafad26d8ca679d5e83d (diff) | |
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 <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Wang Nan <[email protected]>
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions