From: Masami Hiramatsu Date: Fri, 27 Oct 2017 06:10:30 +0000 (+0900) Subject: selftests/ftrace: Do not use arch dependent do_IRQ as a target function X-Git-Tag: v4.15-rc1~53^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8d17a6fe5d3cd635b48818b8da58a0e3ca4c2553;p=thirdparty%2Fkernel%2Flinux.git selftests/ftrace: Do not use arch dependent do_IRQ as a target function Instead using arch-dependent do_IRQ, use do_softirq as a target function. Applying do_IRQ to set_ftrace_filter always fail on arm/arm64 and any other architectures which don't define do_IRQ. So, instead of using that, use do_softirq which is defined in kernel/softirq.c. Signed-off-by: Masami Hiramatsu Acked-by: Steven Rostedt (VMware) Signed-off-by: Shuah Khan --- diff --git a/tools/testing/selftests/ftrace/test.d/ftrace/func_set_ftrace_file.tc b/tools/testing/selftests/ftrace/test.d/ftrace/func_set_ftrace_file.tc index 5ad723724adb9..c4f78ccaa9080 100644 --- a/tools/testing/selftests/ftrace/test.d/ftrace/func_set_ftrace_file.tc +++ b/tools/testing/selftests/ftrace/test.d/ftrace/func_set_ftrace_file.tc @@ -33,7 +33,7 @@ do_reset FILTER=set_ftrace_filter FUNC1="schedule" -FUNC2="do_IRQ" +FUNC2="do_softirq" ALL_FUNCS="#### all functions enabled ####"