Searched refs:pmc_hook (Results 1 – 7 of 7) sorted by relevance
| /f-stack/freebsd/sys/ |
| H A D | pmckern.h | 180 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 D | intr_machdep.c | 299 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 D | mips_pic.c | 295 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 D | kern_pmc.c | 72 int __read_mostly (*pmc_hook)(struct thread *td, int function, void *arg) = NULL; variable
|
| H A D | subr_intr.c | 331 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 D | exception.s | 648 movl pmc_hook,%ecx
|
| /f-stack/freebsd/amd64/amd64/ |
| H A D | exception.S | 932 movq pmc_hook,%rax
|