diff options
Diffstat (limited to 'include/linux')
| -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 2ba7df645a84..94c855a236ae 100644 --- a/include/linux/kprobes.h +++ b/include/linux/kprobes.h | |||
| @@ -245,6 +245,8 @@ unsigned long arch_deref_entry_point(void *); | |||
| 245 | 245 | ||
| 246 | int register_kretprobe(struct kretprobe *rp); | 246 | int register_kretprobe(struct kretprobe *rp); |
| 247 | void unregister_kretprobe(struct kretprobe *rp); | 247 | void unregister_kretprobe(struct kretprobe *rp); |
| 248 | int register_kretprobes(struct kretprobe **rps, int num); | ||
| 249 | void unregister_kretprobes(struct kretprobe **rps, int num); | ||
| 248 | 250 | ||
| 249 | void kprobe_flush_task(struct task_struct *tk); | 251 | void kprobe_flush_task(struct task_struct *tk); |
| 250 | void recycle_rp_inst(struct kretprobe_instance *ri, struct hlist_head *head); | 252 | void recycle_rp_inst(struct kretprobe_instance *ri, struct hlist_head *head); |
| @@ -287,9 +289,16 @@ static inline int register_kretprobe(struct kretprobe *rp) | |||
| 287 | { | 289 | { |
| 288 | return -ENOSYS; | 290 | return -ENOSYS; |
| 289 | } | 291 | } |
| 292 | static inline int register_kretprobes(struct kretprobe **rps, int num) | ||
| 293 | { | ||
| 294 | return -ENOSYS; | ||
| 295 | } | ||
| 290 | static inline void unregister_kretprobe(struct kretprobe *rp) | 296 | static inline void unregister_kretprobe(struct kretprobe *rp) |
| 291 | { | 297 | { |
| 292 | } | 298 | } |
| 299 | static inline void unregister_kretprobes(struct kretprobe **rps, int num) | ||
| 300 | { | ||
| 301 | } | ||
| 293 | static inline void kprobe_flush_task(struct task_struct *tk) | 302 | static inline void kprobe_flush_task(struct task_struct *tk) |
| 294 | { | 303 | { |
| 295 | } | 304 | } |
