PERFORCE change 131199 for review

John Birrell jb at FreeBSD.org
Tue Dec 18 19:08:10 PST 2007


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

Change 131199 by jb at 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 *);


More information about the p4-projects mailing list