]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
selftests/ftrace: Do not use arch dependent do_IRQ as a target function
authorMasami Hiramatsu <mhiramat@kernel.org>
Fri, 27 Oct 2017 06:10:30 +0000 (15:10 +0900)
committerShuah Khan <shuahkh@osg.samsung.com>
Wed, 15 Nov 2017 15:01:43 +0000 (08:01 -0700)
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 <mhiramat@kernel.org>
Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/ftrace/test.d/ftrace/func_set_ftrace_file.tc

index 5ad723724adb9c72d5a94dfc373eb095e5e76943..c4f78ccaa908016d1afb0b467fdbe3e555eb51b9 100644 (file)
@@ -33,7 +33,7 @@ do_reset
 
 FILTER=set_ftrace_filter
 FUNC1="schedule"
-FUNC2="do_IRQ"
+FUNC2="do_softirq"
 
 ALL_FUNCS="#### all functions enabled ####"