Searched refs:pmc_hook (Results 1 – 7 of 7) sorted by relevance
| /freebsd-10-stable/sys/sys/ |
| D | pmckern.h | 159 extern int (*pmc_hook)(struct thread *_td, int _function, void *_arg); 181 if (pmc_hook != NULL) \ 182 (pmc_hook)((t), (cmd), (arg)); \ 190 if (pmc_hook != NULL) \ 191 (pmc_hook)((t), (cmd), (arg)); \ 201 if (pmc_hook != NULL) \ 202 (pmc_hook)((t), (cmd), (arg)); \
|
| /freebsd-10-stable/sys/powerpc/aim/ |
| D | interrupt.c | 109 if (pmc_hook && (PCPU_GET(curthread)->td_pflags & TDP_CALLCHAIN)) in powerpc_interrupt() 110 pmc_hook(PCPU_GET(curthread), PMC_FN_USER_CALLCHAIN, framep); in powerpc_interrupt()
|
| /freebsd-10-stable/sys/mips/mips/ |
| D | intr_machdep.c | 275 if (pmc_hook && (PCPU_GET(curthread)->td_pflags & TDP_CALLCHAIN)) in cpu_intr() 276 pmc_hook(PCPU_GET(curthread), PMC_FN_USER_CALLCHAIN, tf); in cpu_intr()
|
| /freebsd-10-stable/sys/kern/ |
| D | kern_pmc.c | 62 int (*pmc_hook)(struct thread *td, int function, void *arg) = NULL; variable
|
| /freebsd-10-stable/sys/i386/i386/ |
| D | exception.s | 479 movl pmc_hook,%ecx
|
| /freebsd-10-stable/sys/dev/hwpmc/ |
| D | hwpmc_mod.c | 2828 if (pmc_hook == NULL) { \ 4976 pmc_hook = pmc_hook_handler; in pmc_initialize() 5018 if (pmc_hook == NULL) { /* being unloaded already */ in pmc_cleanup() 5023 pmc_hook = NULL; /* prevent new threads from entering module */ in pmc_cleanup()
|
| /freebsd-10-stable/sys/amd64/amd64/ |
| D | exception.S | 661 movq pmc_hook,%rax
|