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.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h
index c046f7d97cfa..45bdd3b95d3e 100644
--- a/include/linux/perf_counter.h
+++ b/include/linux/perf_counter.h
@@ -164,10 +164,11 @@ struct perf_counter_hw_event {
164/* 164/*
165 * Ioctls that can be done on a perf counter fd: 165 * Ioctls that can be done on a perf counter fd:
166 */ 166 */
167#define PERF_COUNTER_IOC_ENABLE _IOW('$', 0, u32) 167#define PERF_COUNTER_IOC_ENABLE _IO ('$', 0)
168#define PERF_COUNTER_IOC_DISABLE _IOW('$', 1, u32) 168#define PERF_COUNTER_IOC_DISABLE _IO ('$', 1)
169#define PERF_COUNTER_IOC_REFRESH _IOW('$', 2, u32) 169#define PERF_COUNTER_IOC_REFRESH _IO ('$', 2)
170#define PERF_COUNTER_IOC_RESET _IOW('$', 3, u32) 170#define PERF_COUNTER_IOC_RESET _IO ('$', 3)
171#define PERF_COUNTER_IOC_PERIOD _IOW('$', 4, u64)
171 172
172enum perf_counter_ioc_flags { 173enum perf_counter_ioc_flags {
173 PERF_IOC_FLAG_GROUP = 1U << 0, 174 PERF_IOC_FLAG_GROUP = 1U << 0,