torture: Dump ftrace at shutdown only if requested
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 16 Jun 2020 22:38:24 +0000 (15:38 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 29 Jun 2020 19:01:45 +0000 (12:01 -0700)
commit2102ad290af06119ccfb56ddc3a0e5011a91537e
treeda41520758b863ec3b55f07a2de286af320eec08
parent06efa9b4b27f926eeb8c935f430f8557eb8b106e
torture: Dump ftrace at shutdown only if requested

If there is a large number of torture tests running concurrently,
all of which are dumping large ftrace buffers at shutdown time, the
resulting dumping can take a very long time, particularly on systems
with rotating-rust storage.  This commit therefore adds a default-off
torture.ftrace_dump_at_shutdown module parameter that enables
shutdown-time ftrace-buffer dumping.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Documentation/admin-guide/kernel-parameters.txt
kernel/torture.c