Home
last modified time | relevance | path

Searched refs:pmc_hook (Results 1 – 7 of 7) sorted by relevance

/f-stack/freebsd/sys/
H A Dpmckern.h180 extern int (*pmc_hook)(struct thread *_td, int _function, void *_arg);
202 #define PMC_HOOK_INSTALLED(cmd) __predict_false(pmc_hook != NULL)
209 if (pmc_hook != NULL) \
210 (pmc_hook)((t), (cmd), (arg)); \
218 if (pmc_hook != NULL) \
219 (pmc_hook)((t), (cmd), (arg)); \
229 if (pmc_hook != NULL) \
230 (pmc_hook)((t), (cmd), (arg)); \
/f-stack/freebsd/mips/mips/
H A Dintr_machdep.c299 if (pmc_hook && (PCPU_GET(curthread)->td_pflags & TDP_CALLCHAIN)) in cpu_intr()
300 pmc_hook(PCPU_GET(curthread), PMC_FN_USER_CALLCHAIN, tf); in cpu_intr()
H A Dmips_pic.c295 if (pmc_hook && (PCPU_GET(curthread)->td_pflags & TDP_CALLCHAIN)) { in mips_pic_intr()
298 pmc_hook(PCPU_GET(curthread), PMC_FN_USER_CALLCHAIN, tf); in mips_pic_intr()
/f-stack/freebsd/kern/
H A Dkern_pmc.c72 int __read_mostly (*pmc_hook)(struct thread *td, int function, void *arg) = NULL; variable
H A Dsubr_intr.c331 if (pmc_hook && TRAPF_USERMODE(tf) && in intr_irq_handler()
333 pmc_hook(PCPU_GET(curthread), PMC_FN_USER_CALLCHAIN, tf); in intr_irq_handler()
/f-stack/freebsd/i386/i386/
H A Dexception.s648 movl pmc_hook,%ecx
/f-stack/freebsd/amd64/amd64/
H A Dexception.S932 movq pmc_hook,%rax