diff options
Diffstat (limited to 'include/linux/kprobes.h')
-rw-r--r-- | include/linux/kprobes.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/kprobes.h b/include/linux/kprobes.h index cd507ab4fed7..2ba7df645a84 100644 --- a/include/linux/kprobes.h +++ b/include/linux/kprobes.h | |||
@@ -234,6 +234,8 @@ static inline struct kprobe_ctlblk *get_kprobe_ctlblk(void) | |||
234 | 234 | ||
235 | int register_kprobe(struct kprobe *p); | 235 | int register_kprobe(struct kprobe *p); |
236 | void unregister_kprobe(struct kprobe *p); | 236 | void unregister_kprobe(struct kprobe *p); |
237 | int register_kprobes(struct kprobe **kps, int num); | ||
238 | void unregister_kprobes(struct kprobe **kps, int num); | ||
237 | int setjmp_pre_handler(struct kprobe *, struct pt_regs *); | 239 | int setjmp_pre_handler(struct kprobe *, struct pt_regs *); |
238 | int longjmp_break_handler(struct kprobe *, struct pt_regs *); | 240 | int longjmp_break_handler(struct kprobe *, struct pt_regs *); |
239 | int register_jprobe(struct jprobe *p); | 241 | int register_jprobe(struct jprobe *p); |
@@ -261,9 +263,16 @@ static inline int register_kprobe(struct kprobe *p) | |||
261 | { | 263 | { |
262 | return -ENOSYS; | 264 | return -ENOSYS; |
263 | } | 265 | } |
266 | static inline int register_kprobes(struct kprobe **kps, int num) | ||
267 | { | ||
268 | return -ENOSYS; | ||
269 | } | ||
264 | static inline void unregister_kprobe(struct kprobe *p) | 270 | static inline void unregister_kprobe(struct kprobe *p) |
265 | { | 271 | { |
266 | } | 272 | } |
273 | static inline void unregister_kprobes(struct kprobe **kps, int num) | ||
274 | { | ||
275 | } | ||
267 | static inline int register_jprobe(struct jprobe *p) | 276 | static inline int register_jprobe(struct jprobe *p) |
268 | { | 277 | { |
269 | return -ENOSYS; | 278 | return -ENOSYS; |