diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2009-11-24 10:01:52 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-11-24 10:37:03 -0500 |
commit | fcf1203a919c3a3d212c0ed01f5240fd592bf5ae (patch) | |
tree | bd7a9f796882c5b01fabc4afe2bdea6ac74c2098 /tools/perf/util/thread.h | |
parent | 727dad10c17cbaade3cb6a56bd4863a4630f4d13 (diff) |
perf symbols: Rename find_symbol routines to find_function
Paving the way for supporting variable in adition to function
symbols.
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: <1259074912-5924-1-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/thread.h')
-rw-r--r-- | tools/perf/util/thread.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/thread.h b/tools/perf/util/thread.h index e4b8d437725a..74cba6487edb 100644 --- a/tools/perf/util/thread.h +++ b/tools/perf/util/thread.h | |||
@@ -26,8 +26,8 @@ size_t threads__fprintf(FILE *fp); | |||
26 | void maps__insert(struct rb_root *maps, struct map *map); | 26 | void maps__insert(struct rb_root *maps, struct map *map); |
27 | struct map *maps__find(struct rb_root *maps, u64 ip); | 27 | struct map *maps__find(struct rb_root *maps, u64 ip); |
28 | 28 | ||
29 | struct symbol *kernel_maps__find_symbol(const u64 ip, struct map **mapp, | 29 | struct symbol *kernel_maps__find_function(const u64 ip, struct map **mapp, |
30 | symbol_filter_t filter); | 30 | symbol_filter_t filter); |
31 | struct map *kernel_maps__find_by_dso_name(const char *name); | 31 | struct map *kernel_maps__find_by_dso_name(const char *name); |
32 | 32 | ||
33 | static inline struct map *thread__find_map(struct thread *self, u64 ip) | 33 | static inline struct map *thread__find_map(struct thread *self, u64 ip) |