diff options
Diffstat (limited to 'include/linux/hw_breakpoint.h')
-rw-r--r-- | include/linux/hw_breakpoint.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/include/linux/hw_breakpoint.h b/include/linux/hw_breakpoint.h index a03daed08c59..d33096e0dbd4 100644 --- a/include/linux/hw_breakpoint.h +++ b/include/linux/hw_breakpoint.h | |||
@@ -57,10 +57,7 @@ register_user_hw_breakpoint(struct perf_event_attr *attr, | |||
57 | 57 | ||
58 | /* FIXME: only change from the attr, and don't unregister */ | 58 | /* FIXME: only change from the attr, and don't unregister */ |
59 | extern struct perf_event * | 59 | extern struct perf_event * |
60 | modify_user_hw_breakpoint(struct perf_event *bp, | 60 | modify_user_hw_breakpoint(struct perf_event *bp, struct perf_event_attr *attr); |
61 | struct perf_event_attr *attr, | ||
62 | perf_callback_t triggered, | ||
63 | struct task_struct *tsk); | ||
64 | 61 | ||
65 | /* | 62 | /* |
66 | * Kernel breakpoints are not associated with any particular thread. | 63 | * Kernel breakpoints are not associated with any particular thread. |
@@ -97,9 +94,7 @@ register_user_hw_breakpoint(struct perf_event_attr *attr, | |||
97 | struct task_struct *tsk) { return NULL; } | 94 | struct task_struct *tsk) { return NULL; } |
98 | static inline struct perf_event * | 95 | static inline struct perf_event * |
99 | modify_user_hw_breakpoint(struct perf_event *bp, | 96 | modify_user_hw_breakpoint(struct perf_event *bp, |
100 | struct perf_event_attr *attr, | 97 | struct perf_event_attr *attr) { return NULL; } |
101 | perf_callback_t triggered, | ||
102 | struct task_struct *tsk) { return NULL; } | ||
103 | static inline struct perf_event * | 98 | static inline struct perf_event * |
104 | register_wide_hw_breakpoint_cpu(struct perf_event_attr *attr, | 99 | register_wide_hw_breakpoint_cpu(struct perf_event_attr *attr, |
105 | perf_callback_t triggered, | 100 | perf_callback_t triggered, |