diff options
Diffstat (limited to 'include/linux/perf_counter.h')
-rw-r--r-- | include/linux/perf_counter.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h index 380247bdb918..6ca403acd419 100644 --- a/include/linux/perf_counter.h +++ b/include/linux/perf_counter.h | |||
@@ -148,11 +148,10 @@ struct perf_counter_attr { | |||
148 | exclude_hv : 1, /* ditto hypervisor */ | 148 | exclude_hv : 1, /* ditto hypervisor */ |
149 | exclude_idle : 1, /* don't count when idle */ | 149 | exclude_idle : 1, /* don't count when idle */ |
150 | mmap : 1, /* include mmap data */ | 150 | mmap : 1, /* include mmap data */ |
151 | munmap : 1, /* include munmap data */ | ||
152 | comm : 1, /* include comm data */ | 151 | comm : 1, /* include comm data */ |
153 | freq : 1, /* use freq, not period */ | 152 | freq : 1, /* use freq, not period */ |
154 | 153 | ||
155 | __reserved_1 : 52; | 154 | __reserved_1 : 53; |
156 | 155 | ||
157 | __u32 wakeup_events; /* wakeup every n events */ | 156 | __u32 wakeup_events; /* wakeup every n events */ |
158 | __u32 __reserved_2; | 157 | __u32 __reserved_2; |
@@ -246,7 +245,6 @@ enum perf_event_type { | |||
246 | * }; | 245 | * }; |
247 | */ | 246 | */ |
248 | PERF_EVENT_MMAP = 1, | 247 | PERF_EVENT_MMAP = 1, |
249 | PERF_EVENT_MUNMAP = 2, | ||
250 | 248 | ||
251 | /* | 249 | /* |
252 | * struct { | 250 | * struct { |
@@ -622,9 +620,6 @@ extern void perf_swcounter_event(u32, u64, int, struct pt_regs *, u64); | |||
622 | extern void perf_counter_mmap(unsigned long addr, unsigned long len, | 620 | extern void perf_counter_mmap(unsigned long addr, unsigned long len, |
623 | unsigned long pgoff, struct file *file); | 621 | unsigned long pgoff, struct file *file); |
624 | 622 | ||
625 | extern void perf_counter_munmap(unsigned long addr, unsigned long len, | ||
626 | unsigned long pgoff, struct file *file); | ||
627 | |||
628 | extern void perf_counter_comm(struct task_struct *tsk); | 623 | extern void perf_counter_comm(struct task_struct *tsk); |
629 | extern void perf_counter_fork(struct task_struct *tsk); | 624 | extern void perf_counter_fork(struct task_struct *tsk); |
630 | 625 | ||
@@ -677,10 +672,6 @@ static inline void | |||
677 | perf_counter_mmap(unsigned long addr, unsigned long len, | 672 | perf_counter_mmap(unsigned long addr, unsigned long len, |
678 | unsigned long pgoff, struct file *file) { } | 673 | unsigned long pgoff, struct file *file) { } |
679 | 674 | ||
680 | static inline void | ||
681 | perf_counter_munmap(unsigned long addr, unsigned long len, | ||
682 | unsigned long pgoff, struct file *file) { } | ||
683 | |||
684 | static inline void perf_counter_comm(struct task_struct *tsk) { } | 675 | static inline void perf_counter_comm(struct task_struct *tsk) { } |
685 | static inline void perf_counter_fork(struct task_struct *tsk) { } | 676 | static inline void perf_counter_fork(struct task_struct *tsk) { } |
686 | static inline void perf_counter_init(void) { } | 677 | static inline void perf_counter_init(void) { } |