From c2b9649e7a5c5c98c9410fd042fa23535f1de417 Mon Sep 17 00:00:00 2001 From: jeff Date: Sun, 26 Dec 2004 00:14:21 +0000 Subject: - Define KTR points for KTR_SCHED. --- sys/kern/kern_switch.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/kern/kern_switch.c') diff --git a/sys/kern/kern_switch.c b/sys/kern/kern_switch.c index 3177f72..c59af8b 100644 --- a/sys/kern/kern_switch.c +++ b/sys/kern/kern_switch.c @@ -456,6 +456,9 @@ setrunqueue(struct thread *td, int flags) CTR3(KTR_RUNQ, "setrunqueue: td:%p kg:%p pid:%d", td, td->td_ksegrp, td->td_proc->p_pid); + CTR5(KTR_SCHED, "setrunqueue: %p(%s) prio %d by %p(%s)", + td, td->td_proc->p_comm, td->td_priority, curthread, + curthread->td_proc->p_comm); mtx_assert(&sched_lock, MA_OWNED); KASSERT((td->td_inhibitors == 0), ("setrunqueue: trying to run inhibitted thread")); -- cgit v1.1