diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2018-08-30 17:15:16 +0300 |
---|---|---|
committer | Shuah Khan (Samsung OSG) <shuah@kernel.org> | 2018-10-24 23:49:35 +0300 |
commit | 9768cc46d39a029f7da47beea449d023b377103d (patch) | |
tree | df02aa1dbdbfe722780b4d8d78d334dbd8af196e /tools/testing/selftests/ftrace/ftracetest | |
parent | 3a96a9d0a4e985e80280357393d86ff4401eeff7 (diff) | |
download | linux-9768cc46d39a029f7da47beea449d023b377103d.tar.xz |
selftests/ftrace: Cleanup ftrace after running test
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>
Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
Diffstat (limited to 'tools/testing/selftests/ftrace/ftracetest')
-rwxr-xr-x | tools/testing/selftests/ftrace/ftracetest | 1 |
1 files changed, 1 insertions, 0 deletions
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` |