lkml.org 
[lkml]   [2018]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v2 07/32] selftests/ftrace: Cleanup ftrace after running test
    Date
    Cleanup ftrace by initialize_ftrace() after running
    all test cases. This means we also don't need cleanup
    ftrace on each test case, except for some special
    options.

    Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
    ---
    tools/testing/selftests/ftrace/ftracetest | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/tools/testing/selftests/ftrace/ftracetest b/tools/testing/selftests/ftrace/ftracetest
    index 3ca596255eff..5c71d58febb2 100755
    --- a/tools/testing/selftests/ftrace/ftracetest
    +++ b/tools/testing/selftests/ftrace/ftracetest
    @@ -341,6 +341,7 @@ for t in $TEST_CASES; do
    exit 1
    fi
    done
    +(cd $TRACING_DIR; initialize_ftrace) # for cleanup

    prlog ""
    prlog "# of passed: " `echo $PASSED_CASES | wc -w`
    \
     
     \ /
      Last update: 2018-08-16 18:33    [W:4.087 / U:0.080 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site