|
@@ -349,6 +349,9 @@ extern int proc_kprobes_optimization_handler(struct ctl_table *table,
|
|
int write, void __user *buffer,
|
|
int write, void __user *buffer,
|
|
size_t *length, loff_t *ppos);
|
|
size_t *length, loff_t *ppos);
|
|
#endif
|
|
#endif
|
|
|
|
+extern void wait_for_kprobe_optimizer(void);
|
|
|
|
+#else
|
|
|
|
+static inline void wait_for_kprobe_optimizer(void) { }
|
|
#endif /* CONFIG_OPTPROBES */
|
|
#endif /* CONFIG_OPTPROBES */
|
|
#ifdef CONFIG_KPROBES_ON_FTRACE
|
|
#ifdef CONFIG_KPROBES_ON_FTRACE
|
|
extern void kprobe_ftrace_handler(unsigned long ip, unsigned long parent_ip,
|
|
extern void kprobe_ftrace_handler(unsigned long ip, unsigned long parent_ip,
|