[RFC PATCH v4 33/34] ftrace: enable make ftrace nop before ftrace_init().

2015-03-02 Thread Wang Nan
This patch is for early kprobes, enables early kprobes to convert target instruction into nop so it is possible to optimize them. Signed-off-by: Wang Nan --- include/linux/ftrace.h | 5 + kernel/trace/ftrace.c | 18 ++ 2 files changed, 23 insertions(+) diff --git

[RFC PATCH v4 33/34] ftrace: enable make ftrace nop before ftrace_init().

2015-03-02 Thread Wang Nan
This patch is for early kprobes, enables early kprobes to convert target instruction into nop so it is possible to optimize them. Signed-off-by: Wang Nan wangn...@huawei.com --- include/linux/ftrace.h | 5 + kernel/trace/ftrace.c | 18 ++ 2 files changed, 23 insertions(+)