diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-03-24 16:40:15 -0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-03-26 08:52:56 +0100 |
commit | 96415e4d3f5fdf9cdb12eedfcbc58152b1e1458c (patch) | |
tree | e7ec76fd8bc4c0d678c4c281e543f34eee37f42a /drivers/usb/c67x00 | |
parent | 53c540195724b52422da067a31ef6916d2c70202 (diff) | |
download | kernel_samsung_tuna-96415e4d3f5fdf9cdb12eedfcbc58152b1e1458c.zip kernel_samsung_tuna-96415e4d3f5fdf9cdb12eedfcbc58152b1e1458c.tar.gz kernel_samsung_tuna-96415e4d3f5fdf9cdb12eedfcbc58152b1e1458c.tar.bz2 |
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 <acme@redhat.com>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1269459619-982-2-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/usb/c67x00')
0 files changed, 0 insertions, 0 deletions