diff options
Diffstat (limited to 'tools/perf/util/session.h')
-rw-r--r-- | tools/perf/util/session.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tools/perf/util/session.h b/tools/perf/util/session.h index decd83f274fd..e815468eb888 100644 --- a/tools/perf/util/session.h +++ b/tools/perf/util/session.h | |||
@@ -51,7 +51,8 @@ struct perf_session { | |||
51 | int cwdlen; | 51 | int cwdlen; |
52 | char *cwd; | 52 | char *cwd; |
53 | struct ordered_samples ordered_samples; | 53 | struct ordered_samples ordered_samples; |
54 | char filename[0]; | 54 | struct callchain_cursor callchain_cursor; |
55 | char filename[0]; | ||
55 | }; | 56 | }; |
56 | 57 | ||
57 | struct perf_event_ops; | 58 | struct perf_event_ops; |
@@ -94,10 +95,10 @@ int __perf_session__process_events(struct perf_session *self, | |||
94 | int perf_session__process_events(struct perf_session *self, | 95 | int perf_session__process_events(struct perf_session *self, |
95 | struct perf_event_ops *event_ops); | 96 | struct perf_event_ops *event_ops); |
96 | 97 | ||
97 | struct map_symbol *perf_session__resolve_callchain(struct perf_session *self, | 98 | int perf_session__resolve_callchain(struct perf_session *self, |
98 | struct thread *thread, | 99 | struct thread *thread, |
99 | struct ip_callchain *chain, | 100 | struct ip_callchain *chain, |
100 | struct symbol **parent); | 101 | struct symbol **parent); |
101 | 102 | ||
102 | bool perf_session__has_traces(struct perf_session *self, const char *msg); | 103 | bool perf_session__has_traces(struct perf_session *self, const char *msg); |
103 | 104 | ||