PERFORCE change 103082 for review
John Birrell
jb at FreeBSD.org
Thu Aug 3 02:24:22 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=103082
Change 103082 by jb at 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);
More information about the p4-projects
mailing list