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.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/kprobes.h b/include/linux/kprobes.h
index 850ee871e353..6fc623e41fd8 100644
--- a/include/linux/kprobes.h
+++ b/include/linux/kprobes.h
@@ -123,7 +123,8 @@ DECLARE_PER_CPU(struct kprobe *, current_kprobe);
123DECLARE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk); 123DECLARE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk);
124 124
125#ifdef ARCH_SUPPORTS_KRETPROBES 125#ifdef ARCH_SUPPORTS_KRETPROBES
126extern void arch_prepare_kretprobe(struct kretprobe *rp, struct pt_regs *regs); 126extern void arch_prepare_kretprobe(struct kretprobe_instance *ri,
127 struct pt_regs *regs);
127#else /* ARCH_SUPPORTS_KRETPROBES */ 128#else /* ARCH_SUPPORTS_KRETPROBES */
128static inline void arch_prepare_kretprobe(struct kretprobe *rp, 129static inline void arch_prepare_kretprobe(struct kretprobe *rp,
129 struct pt_regs *regs) 130 struct pt_regs *regs)
@@ -209,8 +210,6 @@ void jprobe_return(void);
209int register_kretprobe(struct kretprobe *rp); 210int register_kretprobe(struct kretprobe *rp);
210void unregister_kretprobe(struct kretprobe *rp); 211void unregister_kretprobe(struct kretprobe *rp);
211 212
212struct kretprobe_instance *get_free_rp_inst(struct kretprobe *rp);
213void add_rp_inst(struct kretprobe_instance *ri);
214void kprobe_flush_task(struct task_struct *tk); 213void kprobe_flush_task(struct task_struct *tk);
215void recycle_rp_inst(struct kretprobe_instance *ri, struct hlist_head *head); 214void recycle_rp_inst(struct kretprobe_instance *ri, struct hlist_head *head);
216#else /* CONFIG_KPROBES */ 215#else /* CONFIG_KPROBES */