Date: Thu, 3 Aug 2006 02:24:21 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 103082 for review Message-ID: <200608030224.k732OLVl047286@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=103082 Change 103082 by jb@jb_freebsd2 on 2006/08/03 02:24:04 Comment out some debug code. Affected files ... .. //depot/projects/dtrace/src/sys/sun4v/sun4v/trap.c#5 edit Differences ... ==== //depot/projects/dtrace/src/sys/sun4v/sun4v/trap.c#5 (text+ko) ==== @@ -44,6 +44,7 @@ #include "opt_ktr.h" #include "opt_kdtrace.h" #include "opt_ktrace.h" +#include "opt_trap_trace.h" #include <sys/param.h> #include <sys/kdb.h> @@ -290,6 +291,9 @@ td = PCPU_GET(curthread); +#ifdef TRAP_TRACING +hv_ttrace_addentry(0, (uint64_t) trap, (uint64_t) td, type, data); +#endif CTR4(KTR_TRAP, "trap: %p type=%s (%s) pil=%#lx", td, trap_msg[trap_conversion[trapno]], (TRAPF_USERMODE(tf) ? "user" : "kernel"), rdpr(pil)); @@ -464,7 +468,7 @@ type = type & ~T_KERNEL; va = TLB_TAR_VA(data); -#if 1 +#if 0 if (ctx == 0 && (tf->tf_tpc < (uint64_t)copy_nofault_begin || tf->tf_tpc > (uint64_t)fs_nofault_end)) { spinlock_enter(); DELAY(10000*curcpu);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608030224.k732OLVl047286>