]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/ftrace: mark irqsoff_tracer.tc test as unresolved if the test module does...
authorPo-Hsu Lin <po-hsu.lin@canonical.com>
Tue, 5 May 2020 10:14:45 +0000 (18:14 +0800)
committerShuah Khan <skhan@linuxfoundation.org>
Fri, 8 May 2020 15:43:30 +0000 (09:43 -0600)
commit0110c7bc21dd41d6e342b793208e4663424d8a1e
treec3f85f089b888788240156b16e9009c4f9d56029
parent9c36b541abe0a85eef079768f75dac9c20dccf84
selftests/ftrace: mark irqsoff_tracer.tc test as unresolved if the test module does not exist

The UNRESOLVED state is much more apporiate than the UNSUPPORTED state
for the absence of the test module, as it matches "test was set up
incorrectly" situation in the README file.

A possible scenario is that the function was enabled (supported by the
kernel) but the module was not installed properly, in this case we
cannot call this as UNSUPPORTED.

This change also make it consistent with other module-related tests
in ftrace.

Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/ftrace/test.d/preemptirq/irqsoff_tracer.tc