PERFORCE change 137668 for review
Peter Wemm
peter at FreeBSD.org
Fri Mar 14 03:09:41 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=137668
Change 137668 by peter at 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.
More information about the p4-projects
mailing list