aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/map.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2009-12-11 15:56:39 -0500
committerIngo Molnar <mingo@elte.hu>2009-12-12 01:42:11 -0500
commitea08d8cbd162fe3756e3e2298efbe0b8b12f92d1 (patch)
tree9b9eb4311da9c58cf0cd96d471ee2ad8ec3ffd61 /tools/perf/util/map.c
parent79406cd789f745ac6aa9d597895f904a98a14007 (diff)
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/map.c')
-rw-r--r--tools/perf/util/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/map.c b/tools/perf/util/map.c
index 175f1f6b6914..76bdca640a9b 100644
--- a/tools/perf/util/map.c
+++ b/tools/perf/util/map.c
@@ -149,7 +149,7 @@ struct symbol *map__find_symbol(struct map *self, u64 addr,
149 if (!dso__loaded(self->dso, self->type) && map__load(self, filter) < 0) 149 if (!dso__loaded(self->dso, self->type) && map__load(self, filter) < 0)
150 return NULL; 150 return NULL;
151 151
152 return self->dso->find_symbol(self->dso, self->type, addr); 152 return dso__find_symbol(self->dso, self->type, addr);
153} 153}
154 154
155struct symbol *map__find_symbol_by_name(struct map *self, const char *name, 155struct symbol *map__find_symbol_by_name(struct map *self, const char *name,