selftests/ftrace: Add snapshot and tracing_on test case
authorMasami Hiramatsu <mhiramat@kernel.org>
Fri, 13 Jul 2018 16:28:44 +0000 (01:28 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 25 Jul 2018 14:29:42 +0000 (10:29 -0400)
commit82f4f3e69c5c29bce940dd87a2c0f16c51d48d17
tree1bf77c0ee17dfb017ee32b09c341ee75a21771dc
parent73c8d8945505acdcbae137c2e00a1232e0be709f
selftests/ftrace: Add snapshot and tracing_on test case

Add a testcase for checking snapshot and tracing_on
relationship. This ensures that the snapshotting doesn't
affect current tracing on/off settings.

Link: http://lkml.kernel.org/r/153149932412.11274.15289227592627901488.stgit@devbox
Cc: Tom Zanussi <tom.zanussi@linux.intel.com>
Cc: Hiraku Toyooka <hiraku.toyooka@cybertrust.co.jp>
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: linux-kselftest@vger.kernel.org
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
tools/testing/selftests/ftrace/test.d/00basic/snapshot.tc [new file with mode: 0644]