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 94c855a236ae..1036631ff4fa 100644
--- a/include/linux/kprobes.h
+++ b/include/linux/kprobes.h
@@ -240,6 +240,8 @@ int setjmp_pre_handler(struct kprobe *, struct pt_regs *);
240int longjmp_break_handler(struct kprobe *, struct pt_regs *); 240int longjmp_break_handler(struct kprobe *, struct pt_regs *);
241int register_jprobe(struct jprobe *p); 241int register_jprobe(struct jprobe *p);
242void unregister_jprobe(struct jprobe *p); 242void unregister_jprobe(struct jprobe *p);
243int register_jprobes(struct jprobe **jps, int num);
244void unregister_jprobes(struct jprobe **jps, int num);
243void jprobe_return(void); 245void jprobe_return(void);
244unsigned long arch_deref_entry_point(void *); 246unsigned long arch_deref_entry_point(void *);
245 247
@@ -279,9 +281,16 @@ static inline int register_jprobe(struct jprobe *p)
279{ 281{
280 return -ENOSYS; 282 return -ENOSYS;
281} 283}
284static inline int register_jprobes(struct jprobe **jps, int num)
285{
286 return -ENOSYS;
287}
282static inline void unregister_jprobe(struct jprobe *p) 288static inline void unregister_jprobe(struct jprobe *p)
283{ 289{
284} 290}
291static inline void unregister_jprobes(struct jprobe **jps, int num)
292{
293}
285static inline void jprobe_return(void) 294static inline void jprobe_return(void)
286{ 295{
287} 296}