From: Michael Ellerman Date: Wed, 24 Sep 2014 06:08:33 +0000 (+1000) Subject: kprobes: update jprobe_example.c for do_fork() change X-Git-Tag: fixes-for-v3.18-merge-window~28^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8ac6ea8a42d6506345056c6de3e81c97d3f20af;p=pandora-kernel.git 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 Acked-by: Masami Hiramatsu Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed