diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2009-12-11 20:56:39 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-12-12 06:42:11 (GMT) |
commit | ea08d8cbd162fe3756e3e2298efbe0b8b12f92d1 (patch) | |
tree | 9b9eb4311da9c58cf0cd96d471ee2ad8ec3ffd61 /tools/perf/util/symbol.c | |
parent | 79406cd789f745ac6aa9d597895f904a98a14007 (diff) | |
download | linux-fsl-qoriq-ea08d8cbd162fe3756e3e2298efbe0b8b12f92d1.tar.xz |
perf symbols: Ditch dso->find_symbol
It is always wired to dso__find_symbol.
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: <1260564999-13371-1-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/symbol.c')
-rw-r--r-- | tools/perf/util/symbol.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index 8134c49..d3d9fed 100644 --- a/tools/perf/util/symbol.c +++ b/tools/perf/util/symbol.c @@ -30,7 +30,6 @@ enum dso_origin { static void dsos__add(struct list_head *head, struct dso *dso); static struct map *map__new2(u64 start, struct dso *dso, enum map_type type); -struct symbol *dso__find_symbol(struct dso *self, enum map_type type, u64 addr); static int dso__load_kernel_sym(struct dso *self, struct map *map, struct map_groups *mg, symbol_filter_t filter); unsigned int symbol__priv_size; @@ -186,7 +185,6 @@ struct dso *dso__new(const char *name) self->short_name = self->name; for (i = 0; i < MAP__NR_TYPES; ++i) self->symbols[i] = self->symbol_names[i] = RB_ROOT; - self->find_symbol = dso__find_symbol; self->slen_calculated = 0; self->origin = DSO__ORIG_NOT_FOUND; self->loaded = 0; |