Messages in this thread | | | Date | Thu, 14 Nov 2019 16:42:26 +0100 (CET) | From | Miroslav Benes <> | Subject | Re: [PATCH 00/10] ftrace: Add register_ftrace_direct() |
| |
On Thu, 14 Nov 2019, Steven Rostedt wrote:
> On Thu, 14 Nov 2019 10:05:42 +0100 (CET) > Miroslav Benes <mbenes@suse.cz> wrote: > > > On Wed, 13 Nov 2019, Steven Rostedt wrote: > > > > > On Wed, 13 Nov 2019 16:10:36 +0100 (CET) > > > Miroslav Benes <mbenes@suse.cz> wrote: > > > > > > > So I tried to run the selftests and ran into the same timeout issue we had > > > > with live patching :/ > > > > > > > > See http://lkml.kernel.org/r/20191025115041.23186-1-mbenes@suse.cz for a possible solution. > > > > > > Is this when you run the all the selftests? > > > > Yes, when I run all ftrace selftests (make run_tests in > > tools/testing/selftests/ftrace/). > > Thanks, I added this: > > From 6105e34804bc3a9a35e8c10fcd9e10b8b5a22f8e Mon Sep 17 00:00:00 2001 > From: "Steven Rostedt (VMware)" <rostedt@goodmis.org> > Date: Wed, 13 Nov 2019 11:48:39 -0500 > Subject: [PATCH] tracing/selftests: Turn off timeout setting > > 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> > Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Tested-by: Miroslav Benes <mbenes@suse.cz> Reviewed-by: Miroslav Benes <mbenes@suse.cz>
...whichever you prefer
M
> --- > 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 000000000000..e7b9417537fb > --- /dev/null > +++ b/tools/testing/selftests/ftrace/settings > @@ -0,0 +1 @@ > +timeout=0 > -- > 2.20.1 > > > -- Steve >
| |