lkml.org 
[lkml]   [2009]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2009-10-29 08:27    [W:0.052 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site