[RFC PATCH v4 28/34] ftrace: x86: get old instruction from early kprobes when make call.

2015-03-02 Thread Wang Nan
For previously detected early kprobes on ftrace, retrieve old instruction using kprobe_on_ftrace_get_old_insn() instead of ftrace_nop_replace(). Which will enable convertion an early kprobed ftrace entry directly to 'call' instrustion without turnning off kprobe. Signed-off-by: Wang Nan ---

[RFC PATCH v4 28/34] ftrace: x86: get old instruction from early kprobes when make call.

2015-03-02 Thread Wang Nan
For previously detected early kprobes on ftrace, retrieve old instruction using kprobe_on_ftrace_get_old_insn() instead of ftrace_nop_replace(). Which will enable convertion an early kprobed ftrace entry directly to 'call' instrustion without turnning off kprobe. Signed-off-by: Wang Nan