diff options
author | julian <julian@FreeBSD.org> | 2007-11-14 06:51:33 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2007-11-14 06:51:33 +0000 |
commit | 7ee6259be7701ab7248b6032108d5b0ca1611e02 (patch) | |
tree | dd192a15818e2aa4717bfbda6077f52bdab43e0f /sys/powerpc/aim/trap.c | |
parent | b2732e0c22b45ce7f1225a9c12834ec8c6bf9dda (diff) | |
download | FreeBSD-src-7ee6259be7701ab7248b6032108d5b0ca1611e02.zip FreeBSD-src-7ee6259be7701ab7248b6032108d5b0ca1611e02.tar.gz |
A bunch more files that should probably print out a thread name
instead of a process name.
Diffstat (limited to 'sys/powerpc/aim/trap.c')
-rw-r--r-- | sys/powerpc/aim/trap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/powerpc/aim/trap.c b/sys/powerpc/aim/trap.c index 2418044d..b691a65 100644 --- a/sys/powerpc/aim/trap.c +++ b/sys/powerpc/aim/trap.c @@ -156,7 +156,7 @@ trap(struct trapframe *frame) sig = 0; user = frame->srr1 & PSL_PR; - CTR3(KTR_TRAP, "trap: %s type=%s (%s)", p->p_comm, + CTR3(KTR_TRAP, "trap: %s type=%s (%s)", td->td_name, trapname(type), user ? "user" : "kernel"); if (user) { @@ -401,7 +401,7 @@ syscall(struct trapframe *frame) } else error = 0; - CTR5(KTR_SYSC, "syscall: p=%s %s(%x %x %x)", p->p_comm, + CTR5(KTR_SYSC, "syscall: p=%s %s(%x %x %x)", td->td_name, syscallnames[code], frame->fixreg[FIRSTARG], frame->fixreg[FIRSTARG+1], @@ -426,7 +426,7 @@ syscall(struct trapframe *frame) error = (*callp->sy_call)(td, params); AUDIT_SYSCALL_EXIT(error, td); - CTR3(KTR_SYSC, "syscall: p=%s %s ret=%x", p->p_comm, + CTR3(KTR_SYSC, "syscall: p=%s %s ret=%x", td->td_name, syscallnames[code], td->td_retval[0]); } switch (error) { |