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

Po-Hsu Lin po-hsu.lin at canonical.com
Fri Feb 21 10:21:08 UTC 2020


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

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
-- 
2.7.4




More information about the kernel-team mailing list