Adjust a KTR trace to log thread state instead of proc state as that is
more relevant.
This commit is contained in:
parent
418e9d1b9e
commit
9520fc2bed
@ -404,7 +404,7 @@ ithread_schedule(struct ithd *ithread, int do_switch)
|
||||
}
|
||||
} else {
|
||||
CTR4(KTR_INTR, "%s: pid %d: it_need %d, state %d",
|
||||
__func__, p->p_pid, ithread->it_need, p->p_state);
|
||||
__func__, p->p_pid, ithread->it_need, td->td_state);
|
||||
}
|
||||
mtx_unlock_spin(&sched_lock);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user