sw64: ftrace: fix ARCH_SUPPORTS_FTRACE_OPS support
Sunway inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I645RV -------------------------------- ARCH_SUPPORTS_FTRACE_OPS support was introduced with livepatch, but it didn't pass function_trace_op to tracer in ftrace_caller, and kernel will crash in ftrace func_profiler test. To fix this problem, pass function_trace_op to tracer as the 3rd argument. Signed-off-by:Gu Zitao <guzitao@wxiat.com> Reviewed-by:
He Sheng <hesheng@wxiat.com> Signed-off-by:
Gu Zitao <guzitao@wxiat.com>
Loading
Please sign in to comment