PERFORCE change 97115 for review
John Birrell
jb at FreeBSD.org
Sun May 14 00:48:00 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=97115
Change 97115 by jb at jb_freebsd2 on 2006/05/14 00:47:49
Enable the per-cpu interrupt checking.
Affected files ...
.. //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace_probe.c#7 edit
Differences ...
==== //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace_probe.c#7 (text+ko) ====
@@ -33,9 +33,7 @@
probe = dtrace_probes[id - 1];
cpuid = CPU->cpu_id;
-#if defined(sun)
onintr = CPU_ON_INTR(CPU);
-#endif
if (!onintr && probe->dtpr_predcache != DTRACE_CACHEIDNONE &&
probe->dtpr_predcache == curthread->t_predcache) {
@@ -321,7 +319,6 @@
if (!dtrace_priv_proc(state))
continue;
-#if defined(sun)
/*
* See comment in DIF_VAR_PID.
*/
@@ -336,7 +333,6 @@
continue;
}
-#endif
if (DTRACE_USTACK_STRSIZE(rec->dtrd_arg) != 0 &&
curproc->p_dtrace_helpers != NULL) {
More information about the p4-projects
mailing list