Re: [PATCH] selftests/tracing: Have trigger-hist-poll.tc use sched_process_exit

From: Steven Rostedt

Date: Wed Jul 08 2026 - 16:42:02 EST


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.

-- Steve