Home
last modified time | relevance | path

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

/freebsd-10-stable/sys/sys/
Dpmckern.h159 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/
Dinterrupt.c109 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/
Dintr_machdep.c275 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/
Dkern_pmc.c62 int (*pmc_hook)(struct thread *td, int function, void *arg) = NULL; variable
/freebsd-10-stable/sys/i386/i386/
Dexception.s479 movl pmc_hook,%ecx
/freebsd-10-stable/sys/dev/hwpmc/
Dhwpmc_mod.c2828 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/
Dexception.S661 movq pmc_hook,%rax