diff options
| -rw-r--r-- | tools/perf/util/event.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/perf/util/event.h b/tools/perf/util/event.h index 28a579f8fa8e..018d414a09d1 100644 --- a/tools/perf/util/event.h +++ b/tools/perf/util/event.h | |||
| @@ -60,6 +60,12 @@ struct read_event { | |||
| 60 | u64 id; | 60 | u64 id; |
| 61 | }; | 61 | }; |
| 62 | 62 | ||
| 63 | struct sample_event{ | ||
| 64 | struct perf_event_header header; | ||
| 65 | u64 array[]; | ||
| 66 | }; | ||
| 67 | |||
| 68 | |||
| 63 | typedef union event_union { | 69 | typedef union event_union { |
| 64 | struct perf_event_header header; | 70 | struct perf_event_header header; |
| 65 | struct ip_event ip; | 71 | struct ip_event ip; |
| @@ -68,6 +74,7 @@ typedef union event_union { | |||
| 68 | struct fork_event fork; | 74 | struct fork_event fork; |
| 69 | struct lost_event lost; | 75 | struct lost_event lost; |
| 70 | struct read_event read; | 76 | struct read_event read; |
| 77 | struct sample_event sample; | ||
| 71 | } event_t; | 78 | } event_t; |
| 72 | 79 | ||
| 73 | struct map { | 80 | struct map { |
