PERFORCE change 132452 for review

John Birrell jb at FreeBSD.org
Thu Jan 3 19:18:24 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=132452

Change 132452 by jb at jb_freebsd1 on 2008/01/04 03:18:02

	Update to reflect the fact that the interrupt levels aren't valid on FreeBSD.

Affected files ...

.. //depot/projects/dtrace/src/sys/cddl/dev/profile/profile.c#4 edit
.. //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/dtrace/dtrace.c#10 edit

Differences ...

==== //depot/projects/dtrace/src/sys/cddl/dev/profile/profile.c#4 (text+ko) ====

@@ -407,7 +407,6 @@
 
 	hdlr->cyh_func = profile_fire;
 	hdlr->cyh_arg = pcpu;
-	hdlr->cyh_level = CY_HIGH_LEVEL;
 
 	when->cyt_interval = prof->prof_interval;
 	when->cyt_when = dtrace_gethrtime() + when->cyt_interval;
@@ -441,7 +440,6 @@
 	if (prof->prof_kind == PROF_TICK) {
 		hdlr.cyh_func = profile_tick;
 		hdlr.cyh_arg = prof;
-		hdlr.cyh_level = CY_HIGH_LEVEL;
 
 		when.cyt_interval = prof->prof_interval;
 		when.cyt_when = dtrace_gethrtime() + when.cyt_interval;

==== //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/dtrace/dtrace.c#10 (text) ====

@@ -12840,7 +12840,9 @@
 
 	hdlr.cyh_func = (cyc_func_t)dtrace_state_clean;
 	hdlr.cyh_arg = state;
+#if defined(sun)
 	hdlr.cyh_level = CY_LOW_LEVEL;
+#endif
 
 	when.cyt_when = 0;
 	when.cyt_interval = opt[DTRACEOPT_CLEANRATE];
@@ -12849,7 +12851,9 @@
 
 	hdlr.cyh_func = (cyc_func_t)dtrace_state_deadman;
 	hdlr.cyh_arg = state;
+#if defined(sun)
 	hdlr.cyh_level = CY_LOW_LEVEL;
+#endif
 
 	when.cyt_when = 0;
 	when.cyt_interval = dtrace_deadman_interval;


More information about the p4-projects mailing list