diff mbox series

[B,D,E,F,SRU,1/1] tracing/selftests: Turn off timeout setting

Message ID 20200221102108.22563-2-po-hsu.lin@canonical.com
State New
Headers show
Series Turn off timeout setting for ftrace test in kselftests | expand

Commit Message

Po-Hsu Lin Feb. 21, 2020, 10:21 a.m. UTC
From: "Steven Rostedt (VMware)" <rostedt@goodmis.org>

BugLink: https://bugs.launchpad.net/bugs/1864172

As the ftrace selftests can run for a long period of time, disable the
timeout that the general selftests have. If a selftest hangs, then it
probably means the machine will hang too.

Link: https://lore.kernel.org/r/alpine.LSU.2.21.1911131604170.18679@pobox.suse.cz

Suggested-by: Miroslav Benes <mbenes@suse.cz>
Tested-by: Miroslav Benes <mbenes@suse.cz>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
(cherry picked from commit 9fab89ccc7b399b36b8cfc1d55fa8bb09996e926)
Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
---
 tools/testing/selftests/ftrace/settings | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 tools/testing/selftests/ftrace/settings
diff mbox series

Patch

diff --git a/tools/testing/selftests/ftrace/settings b/tools/testing/selftests/ftrace/settings
new file mode 100644
index 0000000..e7b9417
--- /dev/null
+++ b/tools/testing/selftests/ftrace/settings
@@ -0,0 +1 @@ 
+timeout=0