6 #include <linux/types.h>
15 struct ordered_events
;
17 typedef int (*event_sample
)(struct perf_tool
*tool
, union perf_event
*event
,
18 struct perf_sample
*sample
,
19 struct perf_evsel
*evsel
, struct machine
*machine
);
21 typedef int (*event_op
)(struct perf_tool
*tool
, union perf_event
*event
,
22 struct perf_sample
*sample
, struct machine
*machine
);
24 typedef int (*event_attr_op
)(struct perf_tool
*tool
,
25 union perf_event
*event
,
26 struct perf_evlist
**pevlist
);
28 typedef int (*event_op2
)(struct perf_tool
*tool
, union perf_event
*event
,
29 struct perf_session
*session
);
31 typedef int (*event_oe
)(struct perf_tool
*tool
, union perf_event
*event
,
32 struct ordered_events
*oe
);
34 typedef s64 (*event_op3
)(struct perf_tool
*tool
, union perf_event
*event
,
35 struct perf_session
*session
);
53 event_attr_op event_update
;
54 event_op2 tracing_data
;
55 event_oe finished_round
;
68 bool ordering_requires_timestamps
;
71 #endif /* __PERF_TOOL_H */