diff options
Diffstat (limited to 'tools/perf/util/thread.h')
| -rw-r--r-- | tools/perf/util/thread.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/tools/perf/util/thread.h b/tools/perf/util/thread.h index e35653c1817c..56f317b8a06c 100644 --- a/tools/perf/util/thread.h +++ b/tools/perf/util/thread.h | |||
| @@ -59,15 +59,14 @@ void thread__find_addr_location(struct thread *self, | |||
| 59 | struct addr_location *al, | 59 | struct addr_location *al, |
| 60 | symbol_filter_t filter); | 60 | symbol_filter_t filter); |
| 61 | struct symbol *map_groups__find_symbol(struct map_groups *self, | 61 | struct symbol *map_groups__find_symbol(struct map_groups *self, |
| 62 | struct perf_session *session, | ||
| 63 | enum map_type type, u64 addr, | 62 | enum map_type type, u64 addr, |
| 64 | symbol_filter_t filter); | 63 | symbol_filter_t filter); |
| 65 | 64 | ||
| 66 | static inline struct symbol * | 65 | static inline struct symbol *map_groups__find_function(struct map_groups *self, |
| 67 | map_groups__find_function(struct map_groups *self, struct perf_session *session, | 66 | u64 addr, |
| 68 | u64 addr, symbol_filter_t filter) | 67 | symbol_filter_t filter) |
| 69 | { | 68 | { |
| 70 | return map_groups__find_symbol(self, session, MAP__FUNCTION, addr, filter); | 69 | return map_groups__find_symbol(self, MAP__FUNCTION, addr, filter); |
| 71 | } | 70 | } |
| 72 | 71 | ||
| 73 | struct map *map_groups__find_by_name(struct map_groups *self, | 72 | struct map *map_groups__find_by_name(struct map_groups *self, |
| @@ -76,4 +75,9 @@ struct map *map_groups__find_by_name(struct map_groups *self, | |||
| 76 | int __map_groups__create_kernel_maps(struct map_groups *self, | 75 | int __map_groups__create_kernel_maps(struct map_groups *self, |
| 77 | struct map *vmlinux_maps[MAP__NR_TYPES], | 76 | struct map *vmlinux_maps[MAP__NR_TYPES], |
| 78 | struct dso *kernel); | 77 | struct dso *kernel); |
| 78 | int map_groups__create_kernel_maps(struct map_groups *self, | ||
| 79 | struct map *vmlinux_maps[MAP__NR_TYPES]); | ||
| 80 | |||
| 81 | struct map *map_groups__new_module(struct map_groups *self, u64 start, | ||
| 82 | const char *filename); | ||
| 79 | #endif /* __PERF_THREAD_H */ | 83 | #endif /* __PERF_THREAD_H */ |
