]> git.karo-electronics.de Git - linux-beck.git/commit
selftests: ftrace: Initialize ftrace before each test
authorMasami Hiramatsu <mhiramat@kernel.org>
Wed, 16 Nov 2016 08:13:02 +0000 (17:13 +0900)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 22 Nov 2016 18:30:58 +0000 (13:30 -0500)
commit131f840d5b7c73cdb928c4dc7afd5120b0154d34
treec3bd0ce7f48bd1d8acbdafb37a4fdd95cac16065
parentfa32e8557b470f5ff90babc6cbacc61535a81a0f
selftests: ftrace: Initialize ftrace before each test

Reset ftrace to initial state before running each test.
This fixes some test cases to enable tracing before starting
trace test. This can avoid false-positive failure when
previous testcase fails while disabling tracing.

Link: http://lkml.kernel.org/r/147928398192.22982.7767460638302113002.stgit@devbox
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Suggested-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
tools/testing/selftests/ftrace/ftracetest
tools/testing/selftests/ftrace/test.d/functions