KTR_PROC
CTR4(KTR_PROC, "fork_exit: new thread %p (td_sched %p, pid %d, %s)",
CTR3(KTR_PROC, "killproc: proc %p (pid %d, %s)", p, p->p_pid,
CTR5(KTR_PROC, "sleep: thread %ld (pid %ld, %s) on %s (%p)",
CTR5(KTR_PROC, "msleep_spin: thread %ld (pid %ld, %s) on %s (%p)",
CTR4(KTR_PROC, "mi_switch: old thread %ld (td_sched %p, pid %ld, %s)",
CTR4(KTR_PROC, "mi_switch: new thread %ld (td_sched %p, pid %ld, %s)",
CTR1(KTR_PROC, "thread_exit: cpu_throw() thread %p", td);
CTR3(KTR_PROC, "thread_exit: thread %p (pid %ld, %s)", td,
CTR0(KTR_PROC, "maybe_preempt: scheduling preemption");
CTR3(KTR_PROC, "sleepq_timeout: thread %p (pid %ld, %s)",
CTR3(KTR_PROC, "sleepq_abort: thread %p (pid %ld, %s)",
CTR3(KTR_PROC, "sleepq catching signals: thread %p (pid %ld, %s)",
CTR3(KTR_PROC, "sleepq resume: thread %p (pid %ld, %s)",
CTR3(KTR_PROC, "sleepq_wakeup: thread %p (pid %ld, %s)",
CTR2(KTR_PROC, "sleepq_signal(%p, %d)", wchan, flags);
CTR2(KTR_PROC, "sleepq_broadcast(%p, %d)", wchan, flags);
CTR3(KTR_PROC, "cpu_fork: called td1=%p p2=%p flags=%x",
CTR4(KTR_PROC, "%s called with td=%p func=%p arg=%p",