Messages in this thread | | | Date | Mon, 03 Nov 2014 16:27:37 -0500 | From | Steven Rostedt <> | Subject | [RFC PATCH 0/4 v2] ftracetests: Add ftrace tests to ftracetests |
| |
Second attempt. I took the advice from Masami Hiramatsu and modified my tests. I also added some helper functions to ftracetests as well.
I split the one function graph test into two. One to just test the filtering of the function graph and another to test with stack tracer.
Steven Rostedt (Red Hat) (4): ftracetest: Add clear_trace() helper to reset the trace file ftracetest: Add disable/enable_tracing() helper calls ftracetest: Add helper reset_tracer() function ftracetest: Add a couple of ftrace test cases
---- tools/testing/selftests/ftrace/ftracetest | 3 + .../ftrace/test.d/ftrace/fgraph-filter-stack.tc | 94 ++++++++++++++++++++++ .../ftrace/test.d/ftrace/fgraph-filter.tc | 49 +++++++++++ .../ftrace/test.d/ftrace/func_profiler.tc | 76 +++++++++++++++++ tools/testing/selftests/ftrace/test.d/functions | 16 ++++ 5 files changed, 238 insertions(+)
| |