Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jan 2008 03:18:23 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 132452 for review
Message-ID:  <200801040318.m043INTl005560@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=132452

Change 132452 by jb@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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801040318.m043INTl005560>