Date: Sat, 26 Jan 2008 00:45:27 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 134113 for review Message-ID: <200801260045.m0Q0jRV5095145@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=134113 Change 134113 by jb@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801260045.m0Q0jRV5095145>