aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2010-03-24 19:40:15 +0000
committerIngo Molnar <[email protected]>2010-03-26 07:52:56 +0000
commit96415e4d3f5fdf9cdb12eedfcbc58152b1e1458c (patch)
treee7ec76fd8bc4c0d678c4c281e543f34eee37f42a /tools/perf/builtin-annotate.c
parentperf report: Add a popup menu to ask what operation is to be performed (diff)
downloadkernel-96415e4d3f5fdf9cdb12eedfcbc58152b1e1458c.tar.gz
kernel-96415e4d3f5fdf9cdb12eedfcbc58152b1e1458c.zip
perf symbols: Avoid unnecessary symbol loading when dso list is specified
We were performing the full thread__find_addr_location operation, i.e. resolving to a map/dso _and_ loading its symbols when we can optimize it by first calling thread__find_addr_map to find just the map/dso, check if it is one that we are interested in (passed via --dsos/-d in 'perf annotate', 'perf report', etc) and if not avoid loading the symtab. Nice speedup when we know which DSO we're interested in. Signed-off-by: Arnaldo Carvalho de Melo <[email protected]> Cc: Frédéric Weisbecker <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Paul Mackerras <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions