Commit 8feb053d authored by Peter Zijlstra's avatar Peter Zijlstra
Browse files

sched: Fix trace_sched_switch(.prev_state)



Gabriele noted that in case of signal_pending_state(), the tracepoint
sees a stale task-state.

Fixes: fa2c3254 ("sched/tracing: Don't re-read p->state when emitting sched_switch event")
Reported-by: default avatarGabriele Monaco <gmonaco@redhat.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Cc: Valentin Schneider <vschneid@redhat.com>
parent 3e816361
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment