The arguments to sched:::off-cpu are the thread and associated process of
the thread selected to run, not the currently running thread. This fix has already been made for ULE in r252070. PR: 177706 MFC after: 1 week
This commit is contained in:
parent
3236d72b84
commit
7dba784986
@ -1032,7 +1032,7 @@ sched_switch(struct thread *td, struct thread *newtd, int flags)
|
||||
PMC_SWITCH_CONTEXT(td, PMC_FN_CSW_OUT);
|
||||
#endif
|
||||
|
||||
SDT_PROBE2(sched, , , off__cpu, td, td->td_proc);
|
||||
SDT_PROBE2(sched, , , off__cpu, newtd, newtd->td_proc);
|
||||
|
||||
/* I feel sleepy */
|
||||
lock_profile_release_lock(&sched_lock.lock_object);
|
||||
|
Loading…
Reference in New Issue
Block a user