aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kprobes.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/kprobes.h')
-rw-r--r--include/linux/kprobes.h9
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
235int register_kprobe(struct kprobe *p); 235int register_kprobe(struct kprobe *p);
236void unregister_kprobe(struct kprobe *p); 236void unregister_kprobe(struct kprobe *p);
237int register_kprobes(struct kprobe **kps, int num);
238void unregister_kprobes(struct kprobe **kps, int num);
237int setjmp_pre_handler(struct kprobe *, struct pt_regs *); 239int setjmp_pre_handler(struct kprobe *, struct pt_regs *);
238int longjmp_break_handler(struct kprobe *, struct pt_regs *); 240int longjmp_break_handler(struct kprobe *, struct pt_regs *);
239int register_jprobe(struct jprobe *p); 241int 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}
266static inline int register_kprobes(struct kprobe **kps, int num)
267{
268 return -ENOSYS;
269}
264static inline void unregister_kprobe(struct kprobe *p) 270static inline void unregister_kprobe(struct kprobe *p)
265{ 271{
266} 272}
273static inline void unregister_kprobes(struct kprobe **kps, int num)
274{
275}
267static inline int register_jprobe(struct jprobe *p) 276static inline int register_jprobe(struct jprobe *p)
268{ 277{
269 return -ENOSYS; 278 return -ENOSYS;