Searched refs:pmc_hook (Results 1 - 6 of 6) sorted by relevance
/freebsd-10.0-release/sys/sys/ |
H A 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.0-release/sys/mips/mips/ |
H A D | intr_machdep.c | 275 if (pmc_hook && (PCPU_GET(curthread)->td_pflags & TDP_CALLCHAIN)) 276 pmc_hook(PCPU_GET(curthread), PMC_FN_USER_CALLCHAIN, tf);
|
/freebsd-10.0-release/sys/kern/ |
H A D | kern_pmc.c | 62 int (*pmc_hook)(struct thread *td, int function, void *arg) = NULL; variable 78 * convention followed is that a non-NULL value of 'pmc_hook' implies 81 * This requires us to protect 'pmc_hook' with a
|
/freebsd-10.0-release/sys/i386/i386/ |
H A D | exception.s | 458 movl pmc_hook,%ecx
|
/freebsd-10.0-release/sys/amd64/amd64/ |
H A D | exception.S | 561 movq pmc_hook,%rax
|
/freebsd-10.0-release/sys/dev/hwpmc/ |
H A D | hwpmc_mod.c | 570 * The 'pmc_hook' function pointer is also protected by this lock. 574 * pmc_sx lock we first check that 'pmc_hook' is non-null before 2778 if (pmc_hook == NULL) { \ 4908 pmc_hook = pmc_hook_handler; 4950 if (pmc_hook == NULL) { /* being unloaded already */ 4955 pmc_hook = NULL; /* prevent new threads from entering module */
|
Completed in 92 milliseconds