Date: Wed, 19 Dec 2007 03:08:09 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 131199 for review Message-ID: <200712190308.lBJ389QE004988@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=131199 Change 131199 by jb@jb_freebsd1 on 2007/12/19 03:07:20 Let's keep all the DTrace hook definitions in one file: dtrace_bsd.h These *MUST* be BSD licensed to keep CDDL code quarantined. Even so, the KDTRACE_HOOKS option lets embedded developers ignore all things DTrace related. I just hope that _everyone_ will have KDTRACE_HOOKS defined. Affected files ... .. //depot/projects/dtrace/src/sys/sys/dtrace_bsd.h#3 edit .. //depot/projects/dtrace/src/sys/sys/systm.h#16 edit Differences ... ==== //depot/projects/dtrace/src/sys/sys/dtrace_bsd.h#3 (text+ko) ==== @@ -31,6 +31,12 @@ #ifndef _SYS_DTRACE_BSD_H #define _SYS_DTRACE_BSD_H +/* + * Cyclic clock function type definition used to hook the cyclic + * subsystem into the appropriate timer interrupt. + */ +typedef void (*cyclic_clock_func_t)(void); + /* Used by the machine dependent trap() code. */ typedef int (*dtrace_invop_func_t)(uintptr_t, uintptr_t *, uintptr_t); ==== //depot/projects/dtrace/src/sys/sys/systm.h#16 (text+ko) ==== @@ -217,12 +217,6 @@ void realitexpire(void *); -/* - * Cyclic clock function type definition used to hook the cyclic - * subsystem into the appropriate timer interrupt. - */ -typedef void (*cyclic_clock_func_t)(void); - void hardclock(int usermode, uintfptr_t pc); void hardclock_cpu(int usermode); void softclock(void *);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712190308.lBJ389QE004988>