selftests/ftrace: Convert tracer tests to use 'requires' to specify program dependencyNow that we have a good way to specify dependency of tests on programs,convert some of the tracer tests to use
selftests/ftrace: Convert tracer tests to use 'requires' to specify program dependencyNow that we have a good way to specify dependency of tests on programs,convert some of the tracer tests to use this method for specifyingdependency on 'chrt'.Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
show more ...
selftests/ftrace: Support ":tracer" suffix for requiresAdd ":tracer" suffix support for the requires list, so thatthe testcase can list up the required tracer (e.g. function)to the requires list.
selftests/ftrace: Support ":tracer" suffix for requiresAdd ":tracer" suffix support for the requires list, so thatthe testcase can list up the required tracer (e.g. function)to the requires list.For example, if the testcase requires function_graph tracer,it can write requires list as below instead of checkingavailable_tracers.# requires: function_graph:tracerSigned-off-by: Masami Hiramatsu <mhiramat@kernel.org>Reviewed-by: Tom Zanussi <zanussi@kernel.org>Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
selftests/ftrace: Fix invalid SPDX identifiersWhile GPL2.0 looks about right, the correct and valid identifiers for GPL v2only code are 'GPL-2.0' or 'GPL-2.0-only'.Signed-off-by: Thomas Gleixner
selftests/ftrace: Fix invalid SPDX identifiersWhile GPL2.0 looks about right, the correct and valid identifiers for GPL v2only code are 'GPL-2.0' or 'GPL-2.0-only'.Signed-off-by: Thomas Gleixner <tglx@linutronix.de>Cc: Masami Hiramatsu <mhiramat@kernel.org>Cc: Shuah Khan (Samsung OSG) <shuah@kernel.org>Signed-off-by: Shuah Khan <shuah@kernel.org>
selftests/ftrace: Add wakeup_rt tracer testcaseAdd a testcase for wakeup_rt tracer. This requires chrtcommand to test.Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>Signed-off-by: Shuah K
selftests/ftrace: Add wakeup_rt tracer testcaseAdd a testcase for wakeup_rt tracer. This requires chrtcommand to test.Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
selftests/ftrace: Add wakeup tracer testcaseAdd a testcase for wakeup tracer.Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>