lkml.org 
[lkml]   [2014]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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(+)



\
 
 \ /
  Last update: 2014-11-03 23:01    [W:0.094 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site