| Message ID | 20260302174500.357368-2-yoann.congal@smile.fr |
|---|---|
| State | New |
| Headers | show |
| Series | [ptest-runner,1/2] ptest-runner-collect-system-data: add info to logs | expand |
Applied, thanks! On Mon, Mar 2, 2026 at 11:45 AM Yoann Congal <yoann.congal@smile.fr> wrote: > From: Yoann Congal <yoann.congal@smile.fr> > > This will make a timeout occuring more clear in the logs. > > Signed-off-by: Yoann Congal <yoann.congal@smile.fr> > --- > utils.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/utils.c b/utils.c > index 6cf7705..6cfa26f 100644 > --- a/utils.c > +++ b/utils.c > @@ -498,6 +498,7 @@ run_ptests(struct ptest_list *head, const struct > ptest_options opts, > } > > if (timedout) { > + fprintf(fp, "Timeout! System > state:\n"); > collect_system_state(fp); > } else { > /* >
diff --git a/utils.c b/utils.c index 6cf7705..6cfa26f 100644 --- a/utils.c +++ b/utils.c @@ -498,6 +498,7 @@ run_ptests(struct ptest_list *head, const struct ptest_options opts, } if (timedout) { + fprintf(fp, "Timeout! System state:\n"); collect_system_state(fp); } else { /*