Date: Fri, 14 Mar 2008 03:09:39 GMT From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 137668 for review Message-ID: <200803140309.m2E39dh2076744@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=137668 Change 137668 by peter@peter_overcee on 2008/03/14 03:09:21 tidy loose ends Affected files ... .. //depot/projects/bike_sched/sys/kern/kern_fork.c#9 edit .. //depot/projects/bike_sched/sys/kern/kern_synch.c#9 edit .. //depot/projects/bike_sched/sys/kern/kern_thread.c#13 edit Differences ... ==== //depot/projects/bike_sched/sys/kern/kern_fork.c#9 (text+ko) ==== @@ -763,7 +763,7 @@ p = td->td_proc; KASSERT(p->p_state == PRS_NORMAL, ("executing process is still new")); - CTR4(KTR_PROC, "fork_exit: new thread %p (pid %d, %s)", + CTR3(KTR_PROC, "fork_exit: new thread %p (pid %d, %s)", td, p->p_pid, td->td_name); sched_fork_exit(td); ==== //depot/projects/bike_sched/sys/kern/kern_synch.c#9 (text+ko) ==== @@ -412,7 +412,7 @@ td->td_generation++; /* bump preempt-detect counter */ PCPU_INC(cnt.v_swtch); PCPU_SET(switchticks, ticks); - CTR4(KTR_PROC, "mi_switch: old thread %ld (pid %ld, %s)", + CTR3(KTR_PROC, "mi_switch: old thread %ld (pid %ld, %s)", td->td_tid, p->p_pid, td->td_name); #if (KTR_COMPILE & KTR_SCHED) != 0 if (TD_IS_IDLETHREAD(td)) @@ -433,7 +433,7 @@ CTR3(KTR_SCHED, "mi_switch: running %p(%s) prio %d", td, td->td_name, td->td_priority); - CTR4(KTR_PROC, "mi_switch: new thread %ld (pid %ld, %s)", + CTR3(KTR_PROC, "mi_switch: new thread %ld (pid %ld, %s)", td->td_tid, p->p_pid, td->td_name); /* ==== //depot/projects/bike_sched/sys/kern/kern_thread.c#13 (text+ko) ==== @@ -288,6 +288,7 @@ } } } +#endif /* * Allocate a thread.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803140309.m2E39dh2076744>