aboutsummaryrefslogtreecommitdiffstats
path: root/samples/kprobes/kretprobe_example.c
diff options
context:
space:
mode:
Diffstat (limited to 'samples/kprobes/kretprobe_example.c')
-rw-r--r--samples/kprobes/kretprobe_example.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/kprobes/kretprobe_example.c b/samples/kprobes/kretprobe_example.c
index 4e764b317d61..1041b6731598 100644
--- a/samples/kprobes/kretprobe_example.c
+++ b/samples/kprobes/kretprobe_example.c
@@ -23,6 +23,7 @@
23#include <linux/kprobes.h> 23#include <linux/kprobes.h>
24#include <linux/ktime.h> 24#include <linux/ktime.h>
25#include <linux/limits.h> 25#include <linux/limits.h>
26#include <linux/sched.h>
26 27
27static char func_name[NAME_MAX] = "do_fork"; 28static char func_name[NAME_MAX] = "do_fork";
28module_param_string(func, func_name, NAME_MAX, S_IRUGO); 29module_param_string(func, func_name, NAME_MAX, S_IRUGO);