diff options
Diffstat (limited to 'tools/perf/util/symbol.h')
-rw-r--r-- | tools/perf/util/symbol.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h index 3f9e4a4d83dd..17003efa0b39 100644 --- a/tools/perf/util/symbol.h +++ b/tools/perf/util/symbol.h | |||
@@ -63,6 +63,14 @@ static inline void *symbol__priv(struct symbol *self) | |||
63 | return ((void *)self) - symbol__priv_size; | 63 | return ((void *)self) - symbol__priv_size; |
64 | } | 64 | } |
65 | 65 | ||
66 | struct addr_location { | ||
67 | struct thread *thread; | ||
68 | struct map *map; | ||
69 | struct symbol *sym; | ||
70 | u64 addr; | ||
71 | char level; | ||
72 | }; | ||
73 | |||
66 | struct dso { | 74 | struct dso { |
67 | struct list_head node; | 75 | struct list_head node; |
68 | struct rb_root symbols[MAP__NR_TYPES]; | 76 | struct rb_root symbols[MAP__NR_TYPES]; |
@@ -105,6 +113,8 @@ size_t kernel_maps__fprintf(FILE *fp); | |||
105 | 113 | ||
106 | int symbol__init(struct symbol_conf *conf); | 114 | int symbol__init(struct symbol_conf *conf); |
107 | 115 | ||
116 | struct thread; | ||
117 | struct thread *kthread; | ||
108 | extern struct list_head dsos__user, dsos__kernel; | 118 | extern struct list_head dsos__user, dsos__kernel; |
109 | extern struct dso *vdso; | 119 | extern struct dso *vdso; |
110 | #endif /* __PERF_SYMBOL */ | 120 | #endif /* __PERF_SYMBOL */ |