Re: [PATCH] selftests/tracing: Have trigger-hist-poll.tc use sched_process_exit
From: Google
Date: Thu Jul 09 2026 - 00:58:43 EST
On Wed, 8 Jul 2026 16:37:31 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> On Wed, 8 Jul 2026 16:35:39 -0400
> Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> > I forgot to mention that I tested this with and without CONFIG_RCU_LAZY.
> > With that config disabled, the test passes. With it enabled, it always
> > fails.
>
> And I also traced it with:
>
> trace-cmd set -p function_graph -l event_hist_poll -O funcgraph-retval
>
> and it shows the sched_process_free being called for the sleep process
> *after* the poll finishes.
Thanks for fix and tested!!
Acked-by: Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>
>
> -- Steve
--
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>