diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-06-05 08:04:59 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-06-05 08:46:41 -0400 |
commit | fc54db5105d01ad691a7d747064c7890e17f936c (patch) | |
tree | 324d0c7ab589203329098c1eba1b763c29df14dd /Documentation/perf_counter/util/symbol.c | |
parent | 089dd79db9264dc0da602bad45d42f1b3e7d1e07 (diff) |
perf report: Deal with maps
In order to deal with [vdso] maps generalize the ip->symbol path
a bit and allow to override some bits with custom functions.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Documentation/perf_counter/util/symbol.c')
-rw-r--r-- | Documentation/perf_counter/util/symbol.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/perf_counter/util/symbol.c b/Documentation/perf_counter/util/symbol.c index 15d5cf9abfac..a06bbfba8350 100644 --- a/Documentation/perf_counter/util/symbol.c +++ b/Documentation/perf_counter/util/symbol.c | |||
@@ -45,6 +45,7 @@ struct dso *dso__new(const char *name, unsigned int sym_priv_size) | |||
45 | strcpy(self->name, name); | 45 | strcpy(self->name, name); |
46 | self->syms = RB_ROOT; | 46 | self->syms = RB_ROOT; |
47 | self->sym_priv_size = sym_priv_size; | 47 | self->sym_priv_size = sym_priv_size; |
48 | self->find_symbol = dso__find_symbol; | ||
48 | } | 49 | } |
49 | 50 | ||
50 | return self; | 51 | return self; |