Messages in this thread | | | Date | Thu, 29 Oct 2009 08:24:33 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH] perf tools: Delay loading symtabs till we hit a map with it |
| |
* Arnaldo Carvalho de Melo <acme@infradead.org> wrote:
> From: Arnaldo Carvalho de Melo <acme@redhat.com> > > So that we can have a quicker start on perf top and even speedups in the > other tools, as we can have maps with no hits, so no need to load its > symtabs. > > Cc: Frederic Weisbecker <fweisbec@gmail.com> > Cc: Peter Zijlstra <peterz@infradead.org> > Cc: Paul Mackerras <paulus@samba.org> > Cc: Mike Galbraith <efault@gmx.de> > Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> > --- > tools/perf/builtin-annotate.c | 4 ++-- > tools/perf/builtin-report.c | 4 ++-- > tools/perf/builtin-top.c | 5 ++--- > tools/perf/util/event.h | 4 +++- > tools/perf/util/map.c | 40 ++++++++++++++++++++++++---------------- > tools/perf/util/symbol.c | 16 +++++++++------- > tools/perf/util/symbol.h | 4 ++-- > 7 files changed, 44 insertions(+), 33 deletions(-)
ok, that's a really nice feature - i noticed the occasional symtab loading overhead in tools.
Ingo
| |