Re: [PATCH v2 3/7] ftrace: Expose __ftrace_replace_code()

2019-06-27 Thread Steven Rostedt
On Thu, 27 Jun 2019 16:53:51 +0530 "Naveen N. Rao" wrote: > While over-riding ftrace_replace_code(), we still want to reuse the > existing __ftrace_replace_code() function. Rename the function and > make it available for other kernel code. > > Signed-off-by: Naveen N. Rao > --- > include/linux

[PATCH v2 3/7] ftrace: Expose __ftrace_replace_code()

2019-06-27 Thread Naveen N. Rao
While over-riding ftrace_replace_code(), we still want to reuse the existing __ftrace_replace_code() function. Rename the function and make it available for other kernel code. Signed-off-by: Naveen N. Rao --- include/linux/ftrace.h | 1 + kernel/trace/ftrace.c | 8 2 files changed, 5 i