diff options
author | julian <julian@FreeBSD.org> | 2007-11-14 06:21:24 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2007-11-14 06:21:24 +0000 |
commit | b2732e0c22b45ce7f1225a9c12834ec8c6bf9dda (patch) | |
tree | 55718e91180bcb3bddcd007fc62792945ab8ae97 /sys/sun4v | |
parent | b248158d8d9ce6732f5835ff5c90efc7eae9d38a (diff) | |
download | FreeBSD-src-b2732e0c22b45ce7f1225a9c12834ec8c6bf9dda.zip FreeBSD-src-b2732e0c22b45ce7f1225a9c12834ec8c6bf9dda.tar.gz |
generally we are interested in what thread did something as
opposed to what process. Since threads by default have teh name of the
process unless over-written with more useful information, just print the
thread name instead.
Diffstat (limited to 'sys/sun4v')
-rw-r--r-- | sys/sun4v/sun4v/trap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sun4v/sun4v/trap.c b/sys/sun4v/sun4v/trap.c index 7ccb5a8..75d5ce0 100644 --- a/sys/sun4v/sun4v/trap.c +++ b/sys/sun4v/sun4v/trap.c @@ -370,7 +370,7 @@ trap(struct trapframe *tf, int64_t type, uint64_t data) #ifdef VERBOSE if (sig == 4 || sig == 10 || sig == 11) printf("trap: %ld:%s: 0x%lx at 0x%lx on cpu=%d sig=%d proc=%s\n", - trapno, trap_msg[trapno], data, tf->tf_tpc, curcpu, sig, curthread->td_proc->p_comm); + trapno, trap_msg[trapno], data, tf->tf_tpc, curcpu, sig, curthread->td_name); #endif /* XXX I've renumbered the traps to largely reflect what the hardware uses * so this will need to be re-visited |