diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2014-09-24 10:08:33 +0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-09-26 13:11:12 +0400 |
commit | e8ac6ea8a42d6506345056c6de3e81c97d3f20af (patch) | |
tree | 82bd3e744fd2ecd0f95fbee3b40fcf061bb8fdef /drivers | |
parent | 2d69049ab7028ac656a8545a068cc10a663a9805 (diff) | |
download | linux-e8ac6ea8a42d6506345056c6de3e81c97d3f20af.tar.xz |
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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions