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/event.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/event.h')
-rw-r--r-- | tools/perf/util/event.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/perf/util/event.h b/tools/perf/util/event.h index f1e392612652..882a9531db97 100644 --- a/tools/perf/util/event.h +++ b/tools/perf/util/event.h | |||
@@ -119,9 +119,10 @@ void map__delete(struct map *self); | |||
119 | struct map *map__clone(struct map *self); | 119 | struct map *map__clone(struct map *self); |
120 | int map__overlap(struct map *l, struct map *r); | 120 | int map__overlap(struct map *l, struct map *r); |
121 | size_t map__fprintf(struct map *self, FILE *fp); | 121 | size_t map__fprintf(struct map *self, FILE *fp); |
122 | struct symbol *map__find_symbol(struct map *self, u64 ip, symbol_filter_t filter); | 122 | struct symbol *map__find_function(struct map *self, u64 ip, |
123 | void map__fixup_start(struct map *self); | 123 | symbol_filter_t filter); |
124 | void map__fixup_end(struct map *self); | 124 | void map__fixup_start(struct map *self, struct rb_root *symbols); |
125 | void map__fixup_end(struct map *self, struct rb_root *symbols); | ||
125 | 126 | ||
126 | int event__synthesize_thread(pid_t pid, int (*process)(event_t *event)); | 127 | int event__synthesize_thread(pid_t pid, int (*process)(event_t *event)); |
127 | void event__synthesize_threads(int (*process)(event_t *event)); | 128 | void event__synthesize_threads(int (*process)(event_t *event)); |