OSDN Git Service

ftracetest: Add a couple of ftrace test cases
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Tue, 23 Sep 2014 21:33:36 +0000 (17:33 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 6 Nov 2014 13:35:52 +0000 (08:35 -0500)
commitc6c93242db95371d976cf9b5ff9e614c71f75a70
treee0f44cd70676ac8243e1a945016b68bf0195b782
parentee3988c77e37896b0576ba01a793698add13d6f5
ftracetest: Add a couple of ftrace test cases

Added three test cases to get the feel of adding tests to ftracetest.
The three cases are:

  function profiling test, to make sure function profiling still works
   with function tracing (was a regression)

  function graph filter test to make sure that function graph filtering works.

  function graph filter with stack tracing test to make sure that the function
   graph filter does filter and also continues to filter when another function tracer
   is running (like the stack tracer)

Link: http://lkml.kernel.org/r/20141103212737.696365174@goodmis.org
Link: http://lkml.kernel.org/r/20141104153028.602754370@goodmis.org
Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
tools/testing/selftests/ftrace/test.d/ftrace/fgraph-filter-stack.tc [new file with mode: 0644]
tools/testing/selftests/ftrace/test.d/ftrace/fgraph-filter.tc [new file with mode: 0644]
tools/testing/selftests/ftrace/test.d/ftrace/func_profiler.tc [new file with mode: 0644]