diff options
author | avg <avg@FreeBSD.org> | 2014-12-07 11:21:41 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2014-12-07 11:21:41 +0000 |
commit | 15bfe2d26274bcac738882fc5c83faa0d0eddabe (patch) | |
tree | ff24ee5a333ea5e0c966f8a460c580c9fb859f3e /sys/sys/dtrace_bsd.h | |
parent | 9b3ccf0ab3f462a1a474a55cf53c880f31c4193d (diff) | |
download | FreeBSD-src-15bfe2d26274bcac738882fc5c83faa0d0eddabe.zip FreeBSD-src-15bfe2d26274bcac738882fc5c83faa0d0eddabe.tar.gz |
remove opensolaris cyclic code, replace with high-precision callouts
In the old days callout(9) had 1 tick precision and that was inadequate
for some uses, e.g. DTrace profile module, so we had to emulate cyclic
API and behavior. Now we can directly use callout(9) in the very few
places where cyclic was used.
Differential Revision: https://reviews.freebsd.org/D1161
Reviewed by: gnn, jhb, markj
MFC after: 2 weeks
Diffstat (limited to 'sys/sys/dtrace_bsd.h')
-rw-r--r-- | sys/sys/dtrace_bsd.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/sys/dtrace_bsd.h b/sys/sys/dtrace_bsd.h index b451022..6bcaf29 100644 --- a/sys/sys/dtrace_bsd.h +++ b/sys/sys/dtrace_bsd.h @@ -39,15 +39,6 @@ struct vattr; struct vnode; struct reg; -/* - * Cyclic clock function type definition used to hook the cyclic - * subsystem into the appropriate timer interrupt. - */ -typedef void (*cyclic_clock_func_t)(struct trapframe *); -extern cyclic_clock_func_t cyclic_clock_func; - -void clocksource_cyc_set(const struct bintime *t); - int dtrace_trap(struct trapframe *); /* |