diff options
Diffstat (limited to 'include/linux/perf_counter.h')
-rw-r--r-- | include/linux/perf_counter.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h index 5031b5614f25..daedd7d87c2a 100644 --- a/include/linux/perf_counter.h +++ b/include/linux/perf_counter.h | |||
@@ -38,6 +38,7 @@ enum hw_event_types { | |||
38 | * If this bit is set in the type, then trigger NMI sampling: | 38 | * If this bit is set in the type, then trigger NMI sampling: |
39 | */ | 39 | */ |
40 | PERF_COUNT_NMI = (1 << 30), | 40 | PERF_COUNT_NMI = (1 << 30), |
41 | PERF_COUNT_RAW = (1 << 31), | ||
41 | }; | 42 | }; |
42 | 43 | ||
43 | /* | 44 | /* |
@@ -49,6 +50,12 @@ enum perf_record_type { | |||
49 | PERF_RECORD_GROUP, | 50 | PERF_RECORD_GROUP, |
50 | }; | 51 | }; |
51 | 52 | ||
53 | struct perf_counter_event { | ||
54 | u32 hw_event_type; | ||
55 | u32 hw_event_period; | ||
56 | u64 hw_raw_ctrl; | ||
57 | }; | ||
58 | |||
52 | /** | 59 | /** |
53 | * struct hw_perf_counter - performance counter hardware details | 60 | * struct hw_perf_counter - performance counter hardware details |
54 | */ | 61 | */ |