PERFORCE change 96795 for review
John Birrell
jb at FreeBSD.org
Sun May 7 22:15:45 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=96795
Change 96795 by jb at jb_freebsd2 on 2006/05/07 22:15:40
Add the hook for the cyclic timer subsystem. The cyclic subsystem
code which uses this is enabled using the CYCLIC kernel option.
It's an option because the code is covered by Sun's CDDL. DTrace
requires the cyclic subsystem to get high priority probes via
an interrupt.
Affected files ...
.. //depot/projects/dtrace/src/sys/sys/pcpu.h#2 edit
Differences ...
==== //depot/projects/dtrace/src/sys/sys/pcpu.h#2 (text+ko) ====
@@ -45,6 +45,7 @@
#include <sys/vmmeter.h>
#include <machine/pcpu.h>
+struct cyc_cpu;
struct pcb;
struct thread;
@@ -74,6 +75,7 @@
PCPU_MD_FIELDS;
struct vmmeter pc_cnt; /* VM stats counters */
struct device *pc_device;
+ struct cyc_cpu *cpu_cyclic; /* Cyclic subsystem data */
};
SLIST_HEAD(cpuhead, pcpu);
More information about the p4-projects
mailing list