Expecting | count(WAKEUP) - count(BLOCK) | <= 1 Try to fix by placing sched_log_trace(WAKEUP) where trace_sched_wakeup are (try_to_wake_up, ttwu_do_wakeup)