diff options
Diffstat (limited to 'include/linux/perf_counter.h')
-rw-r--r-- | include/linux/perf_counter.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h index 7f5d353d78ac..5bd8817b12d4 100644 --- a/include/linux/perf_counter.h +++ b/include/linux/perf_counter.h | |||
@@ -201,9 +201,13 @@ struct perf_counter_mmap_page { | |||
201 | __u32 data_head; /* head in the data section */ | 201 | __u32 data_head; /* head in the data section */ |
202 | }; | 202 | }; |
203 | 203 | ||
204 | #define PERF_EVENT_MISC_KERNEL (1 << 0) | ||
205 | #define PERF_EVENT_MISC_USER (1 << 1) | ||
206 | |||
204 | struct perf_event_header { | 207 | struct perf_event_header { |
205 | __u32 type; | 208 | __u32 type; |
206 | __u32 size; | 209 | __u16 misc; |
210 | __u16 size; | ||
207 | }; | 211 | }; |
208 | 212 | ||
209 | enum perf_event_type { | 213 | enum perf_event_type { |