selftests/ftrace: Stop tracing while reading the trace file by default
authorMasami Hiramatsu <mhiramat@kernel.org>
Tue, 26 Oct 2021 23:22:11 +0000 (08:22 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 27 Oct 2021 00:27:19 +0000 (20:27 -0400)
commit25b95138728028dd0f576d9f252bc8f0b6c609fa
treeb2a144456d52fb29e139df16c56470f606b46304
parent5c03d8fb04fbf2cf73dd0eacb0912fde59aaa8ed
selftests/ftrace: Stop tracing while reading the trace file by default

Stop tracing while reading the trace file by default, to prevent
the test results while checking it and to avoid taking a long time
to check the result.
If there is any testcase which wants to test the tracing while reading
the trace file, please override this setting inside the test case.

This also recovers the pause-on-trace when clean it up.

Link: https://lkml.kernel.org/r/163529053143.690749.15365238954175942026.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
tools/testing/selftests/ftrace/ftracetest
tools/testing/selftests/ftrace/test.d/functions