summaryrefslogtreecommitdiffstats
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, 4 insertions, 2 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h
index 037a81145ac..edf5bfb7ff5 100644
--- a/include/linux/perf_counter.h
+++ b/include/linux/perf_counter.h
@@ -210,13 +210,15 @@ struct perf_event_header {
};
enum perf_event_type {
- PERF_EVENT_IP = 0,
+
PERF_EVENT_GROUP = 1,
PERF_EVENT_MMAP = 2,
PERF_EVENT_MUNMAP = 3,
- __PERF_EVENT_TID = 0x100,
+ PERF_EVENT_OVERFLOW = 1UL << 31,
+ __PERF_EVENT_IP = 1UL << 30,
+ __PERF_EVENT_TID = 1UL << 29,
};
#ifdef __KERNEL__