aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/event.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/event.h')
-rw-r--r--tools/perf/util/event.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/perf/util/event.h b/tools/perf/util/event.h
index bb090257570e..035ecf3c25cc 100644
--- a/tools/perf/util/event.h
+++ b/tools/perf/util/event.h
@@ -149,15 +149,17 @@ void map__delete(struct map *self);
149struct map *map__clone(struct map *self); 149struct map *map__clone(struct map *self);
150int map__overlap(struct map *l, struct map *r); 150int map__overlap(struct map *l, struct map *r);
151size_t map__fprintf(struct map *self, FILE *fp); 151size_t map__fprintf(struct map *self, FILE *fp);
152struct symbol *map__find_symbol(struct map *self, u64 addr, 152
153 symbol_filter_t filter); 153struct perf_session;
154
155struct symbol *map__find_symbol(struct map *self, struct perf_session *session,
156 u64 addr, symbol_filter_t filter);
154struct symbol *map__find_symbol_by_name(struct map *self, const char *name, 157struct symbol *map__find_symbol_by_name(struct map *self, const char *name,
158 struct perf_session *session,
155 symbol_filter_t filter); 159 symbol_filter_t filter);
156void map__fixup_start(struct map *self); 160void map__fixup_start(struct map *self);
157void map__fixup_end(struct map *self); 161void map__fixup_end(struct map *self);
158 162
159struct perf_session;
160
161int event__synthesize_thread(pid_t pid, 163int event__synthesize_thread(pid_t pid,
162 int (*process)(event_t *event, 164 int (*process)(event_t *event,
163 struct perf_session *session), 165 struct perf_session *session),