diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-01-04 13:19:27 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-01-13 04:09:09 -0500 |
commit | 36a3e6461a0dac8e84b8c94877365324010c151b (patch) | |
tree | a9e0befe55b638af940da648fd81d28e06333e7a /tools/perf/util/symbol.h | |
parent | 682b335a5bccf9e5b7e74380784aa2f145d04444 (diff) |
perf symbols: Export symbol_type__is_a
Will be needed by the new HEADER_DSO_INFO feature that will be a
HEADER_BUILD_ID superset, replacing it.
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: <1262629169-22797-2-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/symbol.h')
-rw-r--r-- | tools/perf/util/symbol.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h index 21313e87c37b..b2b5330a82a0 100644 --- a/tools/perf/util/symbol.h +++ b/tools/perf/util/symbol.h | |||
@@ -139,6 +139,8 @@ int kallsyms__parse(void *arg, int (*process_symbol)(void *arg, const char *name | |||
139 | char type, u64 start)); | 139 | char type, u64 start)); |
140 | 140 | ||
141 | int symbol__init(void); | 141 | int symbol__init(void); |
142 | bool symbol_type__is_a(char symbol_type, enum map_type map_type); | ||
143 | |||
142 | int perf_session__create_kernel_maps(struct perf_session *self); | 144 | int perf_session__create_kernel_maps(struct perf_session *self); |
143 | 145 | ||
144 | extern struct list_head dsos__user, dsos__kernel; | 146 | extern struct list_head dsos__user, dsos__kernel; |