]> asedeno.scripts.mit.edu Git - linux.git/commit
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)
commit8d17a6fe5d3cd635b48818b8da58a0e3ca4c2553
tree7918a3ecd0296ae26d4901641dec63948cd33977
parentaf7dc093467a917278ec3b61aea46377b4372d8c
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 <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