aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/perf_counter.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/perf_counter.h')
-rw-r--r--include/linux/perf_counter.h6
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
204struct perf_event_header { 207struct perf_event_header {
205 __u32 type; 208 __u32 type;
206 __u32 size; 209 __u16 misc;
210 __u16 size;
207}; 211};
208 212
209enum perf_event_type { 213enum perf_event_type {