diff options
Diffstat (limited to 'sys/kern/kern_pmc.c')
-rw-r--r-- | sys/kern/kern_pmc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/kern/kern_pmc.c b/sys/kern/kern_pmc.c index a3b572976fbf..15afe1a46d07 100644 --- a/sys/kern/kern_pmc.c +++ b/sys/kern/kern_pmc.c @@ -72,6 +72,10 @@ int __read_mostly (*pmc_hook)(struct thread *td, int function, void *arg) = NULL /* Interrupt handler */ int __read_mostly (*pmc_intr)(struct trapframe *tf) = NULL; +/* HWT hooks */ +void __read_mostly (*hwt_hook)(struct thread *td, int func, void *arg) = NULL; +int __read_mostly (*hwt_intr)(struct trapframe *tf) = NULL; + DPCPU_DEFINE(uint8_t, pmc_sampled); /* |