diff options
author | Mark Brown <broonie@kernel.org> | 2024-03-25 17:15:51 +0100 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2024-05-06 21:57:20 +0200 |
commit | c1b121eafd9b94079300bc1f21a5bf82e72a99b4 (patch) | |
tree | d67aded75eb470c429e7e65c9216df7fe14ce0e6 /tools/testing/selftests/ftrace | |
parent | tracing/selftests: Support log output when generating KTAP output (diff) | |
download | linux-c1b121eafd9b94079300bc1f21a5bf82e72a99b4.tar.xz linux-c1b121eafd9b94079300bc1f21a5bf82e72a99b4.zip |
tracing/selftests: Default to verbose mode when running in kselftest
In order to facilitate debugging of issues from automated runs of the ftrace
selftests turn on verbose logging by default when run from the kselftest
runner. This is primarily used by automated systems where developers may
not have direct access to the system so defaulting to providing diagnostic
information which might help debug problems seems like a good idea.
When tests pass no extra output is generated, when they fail a full log of
the test run is provided. Since this really is rather verbose when there are
a large number of test failures or output is slow (eg, with a serial
console) this could substantially increase the run time for the tests which
might present problems with timeout detection for affected systems,
hopefully we keep the tests running well enough that this is not too much
of an issue.
Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/ftrace')
-rwxr-xr-x | tools/testing/selftests/ftrace/ftracetest-ktap | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/ftrace/ftracetest-ktap b/tools/testing/selftests/ftrace/ftracetest-ktap index b3284679ef3a..14e62ef3f3b9 100755 --- a/tools/testing/selftests/ftrace/ftracetest-ktap +++ b/tools/testing/selftests/ftrace/ftracetest-ktap @@ -5,4 +5,4 @@ # # Copyright (C) Arm Ltd., 2023 -./ftracetest -K +./ftracetest -K -v |