git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'linus' into tracing/hw-breakpoints
[safe/jmp/linux-2.6]
/
samples
/
kprobes
/
kretprobe_example.c
diff --git
a/samples/kprobes/kretprobe_example.c
b/samples/kprobes/kretprobe_example.c
index
4e764b3
..
1041b67
100644
(file)
--- a/
samples/kprobes/kretprobe_example.c
+++ b/
samples/kprobes/kretprobe_example.c
@@
-23,6
+23,7
@@
#include <linux/kprobes.h>
#include <linux/ktime.h>
#include <linux/limits.h>
+#include <linux/sched.h>
static char func_name[NAME_MAX] = "do_fork";
module_param_string(func, func_name, NAME_MAX, S_IRUGO);