PERFORCE change 134113 for review
John Birrell
jb at FreeBSD.org
Fri Jan 25 16:45:28 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=134113
Change 134113 by jb at jb_freebsd1 on 2008/01/26 00:45:06
Make the chill code work.
I feel like I need to use the word "dude" here too.
Affected files ...
.. //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/dtrace/dtrace.c#27 edit
Differences ...
==== //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/dtrace/dtrace.c#27 (text) ====
@@ -5434,15 +5434,12 @@
static void
dtrace_action_chill(dtrace_mstate_t *mstate, hrtime_t val)
{
-printf("%s(%d): DOODAD\n",__func__,__LINE__);
-#ifdef DOODAD
hrtime_t now;
volatile uint16_t *flags;
#if defined(sun)
cpu_t *cpu = CPU;
#else
- cpu_t *c = &solaris_cpu[curcpu];
- struct pcpu *cpu = pcpu_find(curcpu);
+ cpu_t *cpu = &solaris_cpu[curcpu];
#endif
if (dtrace_destructive_disallow)
@@ -5481,7 +5478,6 @@
*/
mstate->dtms_present &= ~DTRACE_MSTATE_TIMESTAMP;
cpu->cpu_dtrace_chilled += val;
-#endif
}
static void
More information about the p4-projects
mailing list