aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/session.h')
-rw-r--r--tools/perf/util/session.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/session.h b/tools/perf/util/session.h
index 78239767011e..365bf533a396 100644
--- a/tools/perf/util/session.h
+++ b/tools/perf/util/session.h
@@ -57,7 +57,7 @@ struct perf_session {
57 57
58struct perf_event_ops; 58struct perf_event_ops;
59 59
60typedef int (*event_op)(event_t *self, struct sample_data *sample, 60typedef int (*event_op)(event_t *self, struct perf_sample *sample,
61 struct perf_session *session); 61 struct perf_session *session);
62typedef int (*event_synth_op)(event_t *self, struct perf_session *session); 62typedef int (*event_synth_op)(event_t *self, struct perf_session *session);
63typedef int (*event_op2)(event_t *self, struct perf_session *session, 63typedef int (*event_op2)(event_t *self, struct perf_session *session,
@@ -158,7 +158,7 @@ size_t perf_session__fprintf_nr_events(struct perf_session *self, FILE *fp)
158 158
159static inline int perf_session__parse_sample(struct perf_session *session, 159static inline int perf_session__parse_sample(struct perf_session *session,
160 const event_t *event, 160 const event_t *event,
161 struct sample_data *sample) 161 struct perf_sample *sample)
162{ 162{
163 return event__parse_sample(event, session->sample_type, 163 return event__parse_sample(event, session->sample_type,
164 session->sample_id_all, sample); 164 session->sample_id_all, sample);