tmp_suning_uos_patched/samples/kprobes
Michael Ellerman e8ac6ea8a4 kprobes: update jprobe_example.c for do_fork() change
In commit e80d666 "flagday: kill pt_regs argument of do_fork()", the
arguments to do_fork() changed.

The example code in jprobe_example.c was not updated to match, so the
arguments inside the jprobe handler do not match reality.

Fix it by updating the arguments to match do_fork(). While we're at it
use pr_info() for brevity, and print stack_start as well for interest.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2014-09-26 11:11:12 +02:00
..
jprobe_example.c kprobes: update jprobe_example.c for do_fork() change 2014-09-26 11:11:12 +02:00
kprobe_example.c tile: support kprobes on tilegx 2013-08-30 11:55:53 -04:00
kretprobe_example.c sparc64: cheaper asm/uaccess.h inclusion 2009-08-16 18:25:53 -07:00
Makefile