git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sparc64: cheaper asm/uaccess.h inclusion
[sfrench/cifs-2.6.git]
/
samples
/
kprobes
/
kretprobe_example.c
diff --git
a/samples/kprobes/kretprobe_example.c
b/samples/kprobes/kretprobe_example.c
index 4e764b317d6124c803439f02754e2339a538db12..1041b6731598137d22752334054cd9054fcdabb6 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);