| .. | .. |
|---|
| 8 | 8 | |
|---|
| 9 | 9 | struct perf_session; |
|---|
| 10 | 10 | union perf_event; |
|---|
| 11 | | -struct perf_evlist; |
|---|
| 12 | | -struct perf_evsel; |
|---|
| 11 | +struct evlist; |
|---|
| 12 | +struct evsel; |
|---|
| 13 | 13 | struct perf_sample; |
|---|
| 14 | 14 | struct perf_tool; |
|---|
| 15 | 15 | struct machine; |
|---|
| .. | .. |
|---|
| 17 | 17 | |
|---|
| 18 | 18 | typedef int (*event_sample)(struct perf_tool *tool, union perf_event *event, |
|---|
| 19 | 19 | struct perf_sample *sample, |
|---|
| 20 | | - struct perf_evsel *evsel, struct machine *machine); |
|---|
| 20 | + struct evsel *evsel, struct machine *machine); |
|---|
| 21 | 21 | |
|---|
| 22 | 22 | typedef int (*event_op)(struct perf_tool *tool, union perf_event *event, |
|---|
| 23 | 23 | struct perf_sample *sample, struct machine *machine); |
|---|
| 24 | 24 | |
|---|
| 25 | 25 | typedef int (*event_attr_op)(struct perf_tool *tool, |
|---|
| 26 | 26 | union perf_event *event, |
|---|
| 27 | | - struct perf_evlist **pevlist); |
|---|
| 27 | + struct evlist **pevlist); |
|---|
| 28 | 28 | |
|---|
| 29 | | -typedef int (*event_op2)(struct perf_tool *tool, union perf_event *event, |
|---|
| 30 | | - struct perf_session *session); |
|---|
| 29 | +typedef int (*event_op2)(struct perf_session *session, union perf_event *event); |
|---|
| 30 | +typedef s64 (*event_op3)(struct perf_session *session, union perf_event *event); |
|---|
| 31 | +typedef int (*event_op4)(struct perf_session *session, union perf_event *event, u64 data); |
|---|
| 31 | 32 | |
|---|
| 32 | 33 | typedef int (*event_oe)(struct perf_tool *tool, union perf_event *event, |
|---|
| 33 | 34 | struct ordered_events *oe); |
|---|
| 34 | | - |
|---|
| 35 | | -typedef s64 (*event_op3)(struct perf_tool *tool, union perf_event *event, |
|---|
| 36 | | - struct perf_session *session); |
|---|
| 37 | 35 | |
|---|
| 38 | 36 | enum show_feature_header { |
|---|
| 39 | 37 | SHOW_FEAT_NO_HEADER = 0, |
|---|
| .. | .. |
|---|
| 48 | 46 | mmap2, |
|---|
| 49 | 47 | comm, |
|---|
| 50 | 48 | namespaces, |
|---|
| 49 | + cgroup, |
|---|
| 51 | 50 | fork, |
|---|
| 52 | 51 | exit, |
|---|
| 53 | 52 | lost, |
|---|
| .. | .. |
|---|
| 56 | 55 | itrace_start, |
|---|
| 57 | 56 | context_switch, |
|---|
| 58 | 57 | throttle, |
|---|
| 59 | | - unthrottle; |
|---|
| 58 | + unthrottle, |
|---|
| 59 | + ksymbol, |
|---|
| 60 | + bpf, |
|---|
| 61 | + text_poke; |
|---|
| 62 | + |
|---|
| 60 | 63 | event_attr_op attr; |
|---|
| 61 | 64 | event_attr_op event_update; |
|---|
| 62 | 65 | event_op2 tracing_data; |
|---|
| .. | .. |
|---|
| 72 | 75 | stat, |
|---|
| 73 | 76 | stat_round, |
|---|
| 74 | 77 | feature; |
|---|
| 78 | + event_op4 compressed; |
|---|
| 75 | 79 | event_op3 auxtrace; |
|---|
| 76 | 80 | bool ordered_events; |
|---|
| 77 | 81 | bool ordering_requires_timestamps; |
|---|
| 78 | 82 | bool namespace_events; |
|---|
| 83 | + bool cgroup_events; |
|---|
| 79 | 84 | bool no_warn; |
|---|
| 80 | 85 | enum show_feature_header show_feat_hdr; |
|---|
| 81 | 86 | }; |
|---|