diff options
| author | Julian Elischer <julian@FreeBSD.org> | 2007-11-14 06:21:24 +0000 |
|---|---|---|
| committer | Julian Elischer <julian@FreeBSD.org> | 2007-11-14 06:21:24 +0000 |
| commit | 431f89061443375688abea4e01c0b01936f0f905 (patch) | |
| tree | 55718e91180bcb3bddcd007fc62792945ab8ae97 /sys/kern/subr_sleepqueue.c | |
| parent | ca081fdbc5aa456250f138fa6fe1444553664721 (diff) | |
Notes
Diffstat (limited to 'sys/kern/subr_sleepqueue.c')
| -rw-r--r-- | sys/kern/subr_sleepqueue.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/subr_sleepqueue.c b/sys/kern/subr_sleepqueue.c index d0856f9c86b8..8642d144b1c2 100644 --- a/sys/kern/subr_sleepqueue.c +++ b/sys/kern/subr_sleepqueue.c @@ -459,7 +459,7 @@ sleepq_switch(void *wchan) mi_switch(SW_VOL, NULL); KASSERT(TD_IS_RUNNING(td), ("running but not TDS_RUNNING")); CTR3(KTR_PROC, "sleepq resume: thread %p (pid %ld, %s)", - (void *)td, (long)td->td_proc->p_pid, (void *)td->td_proc->p_comm); + (void *)td, (long)td->td_proc->p_pid, (void *)td->td_name); } /* @@ -650,7 +650,7 @@ sleepq_resume_thread(struct sleepqueue *sq, struct thread *td, int pri) * do it. However, we can't assert that it is set. */ CTR3(KTR_PROC, "sleepq_wakeup: thread %p (pid %ld, %s)", - (void *)td, (long)td->td_proc->p_pid, td->td_proc->p_comm); + (void *)td, (long)td->td_proc->p_pid, td->td_name); TD_CLR_SLEEPING(td); /* Adjust priority if requested. */ @@ -772,7 +772,7 @@ sleepq_timeout(void *arg) td = arg; CTR3(KTR_PROC, "sleepq_timeout: thread %p (pid %ld, %s)", - (void *)td, (long)td->td_proc->p_pid, (void *)td->td_proc->p_comm); + (void *)td, (long)td->td_proc->p_pid, (void *)td->td_name); /* * First, see if the thread is asleep and get the wait channel if @@ -880,7 +880,7 @@ sleepq_abort(struct thread *td, int intrval) return; CTR3(KTR_PROC, "sleepq_abort: thread %p (pid %ld, %s)", - (void *)td, (long)td->td_proc->p_pid, (void *)td->td_proc->p_comm); + (void *)td, (long)td->td_proc->p_pid, (void *)td->td_name); td->td_intrval = intrval; td->td_flags |= TDF_SLEEPABORT; /* @@ -957,7 +957,7 @@ found: db_printf("\t%p (tid %d, pid %d, \"%s\")\n", td, td->td_tid, td->td_proc->p_pid, td->td_name[i] != '\0' ? td->td_name : - td->td_proc->p_comm); + td->td_name); } } } |
