aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <[email protected]>2012-09-05 14:31:12 +0000
committerSteven Rostedt <[email protected]>2012-09-14 02:52:09 +0000
commit4b036d54bf849a75d0103b33d92a53f89ecb9315 (patch)
treea3951c4c6b585f15e02634993cde58986f848443 /tools/perf/util/scripting-engines/trace-event-perl.c
parentftrace/x86: Adjust x86 regs.ip as like as x86-64 (diff)
downloadkernel-4b036d54bf849a75d0103b33d92a53f89ecb9315.tar.gz
kernel-4b036d54bf849a75d0103b33d92a53f89ecb9315.zip
kprobes/x86: Fix kprobes to collectly handle IP on ftrace
Current kprobe_ftrace_handler expects regs->ip == ip, but it is incorrect (originally on x86-64). Actually, ftrace handler sets regs->ip = ip + MCOUNT_INSN_SIZE. kprobe_ftrace_handler must take care for that. Link: http://lkml.kernel.org/r/[email protected] Cc: Peter Zijlstra <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Signed-off-by: Masami Hiramatsu <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions