diff options
-rw-r--r-- | samples/kprobes/jprobe_example.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/samples/kprobes/jprobe_example.c b/samples/kprobes/jprobe_example.c index b7541355b92b..9119ac6a8270 100644 --- a/samples/kprobes/jprobe_example.c +++ b/samples/kprobes/jprobe_example.c | |||
@@ -24,12 +24,11 @@ | |||
24 | 24 | ||
25 | /* Proxy routine having the same arguments as actual do_fork() routine */ | 25 | /* Proxy routine having the same arguments as actual do_fork() routine */ |
26 | static long jdo_fork(unsigned long clone_flags, unsigned long stack_start, | 26 | static long jdo_fork(unsigned long clone_flags, unsigned long stack_start, |
27 | struct pt_regs *regs, unsigned long stack_size, | 27 | unsigned long stack_size, int __user *parent_tidptr, |
28 | int __user *parent_tidptr, int __user *child_tidptr) | 28 | int __user *child_tidptr) |
29 | { | 29 | { |
30 | printk(KERN_INFO "jprobe: clone_flags = 0x%lx, stack_size = 0x%lx," | 30 | pr_info("jprobe: clone_flags = 0x%lx, stack_start = 0x%lx " |
31 | " regs = 0x%p\n", | 31 | "stack_size = 0x%lx\n", clone_flags, stack_start, stack_size); |
32 | clone_flags, stack_size, regs); | ||
33 | 32 | ||
34 | /* Always end with a call to jprobe_return(). */ | 33 | /* Always end with a call to jprobe_return(). */ |
35 | jprobe_return(); | 34 | jprobe_return(); |