|
|
@@ -18,6 +18,7 @@
|
|
|
#include <linux/kernel.h>
|
|
|
#include <linux/export.h>
|
|
|
#include <linux/ftrace.h>
|
|
|
+#include <linux/kprobes.h>
|
|
|
#include <linux/sched.h>
|
|
|
#include <linux/sched/debug.h>
|
|
|
#include <linux/sched/task_stack.h>
|
|
|
@@ -85,6 +86,7 @@ int notrace unwind_frame(struct task_struct *tsk, struct stackframe *frame)
|
|
|
|
|
|
return 0;
|
|
|
}
|
|
|
+NOKPROBE_SYMBOL(unwind_frame);
|
|
|
|
|
|
void notrace walk_stackframe(struct task_struct *tsk, struct stackframe *frame,
|
|
|
int (*fn)(struct stackframe *, void *), void *data)
|
|
|
@@ -99,6 +101,7 @@ void notrace walk_stackframe(struct task_struct *tsk, struct stackframe *frame,
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
+NOKPROBE_SYMBOL(walk_stackframe);
|
|
|
|
|
|
#ifdef CONFIG_STACKTRACE
|
|
|
struct stack_trace_data {
|