mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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>
This commit is contained in:
parent
3a96a9d0a4
commit
9768cc46d3
1 changed files with 1 additions and 0 deletions
|
@ -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`
|
||||
|
|
Loading…
Add table
Reference in a new issue