Searched refs:pm_id (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/sys/ |
H A D | pmc.h | 779 pmc_id_t pm_id; /* allocated PMC id */ member 790 #define PMC_TO_MODE(P) PMC_ID_TO_MODE((P)->pm_id) 791 #define PMC_TO_CLASS(P) PMC_ID_TO_CLASS((P)->pm_id) 792 #define PMC_TO_ROWINDEX(P) PMC_ID_TO_ROWINDEX((P)->pm_id) 793 #define PMC_TO_CPU(P) PMC_ID_TO_CPU((P)->pm_id)
|
/freebsd/sys/dev/hwpmc/ |
H A D | hwpmc_logging.c | 921 PMCLOG_EMIT32(pm->pm_id); in pmclog_process_callchain() 991 PMCLOG_EMIT32(pm->pm_id); in pmclog_process_pmcallocate() 1006 PMCLOG_EMIT32(pm->pm_id); in pmclog_process_pmcallocate() 1029 PMCLOG_EMIT32(pm->pm_id); in pmclog_process_pmcattach() 1046 PMCLOG_EMIT32(pm->pm_id); in pmclog_process_pmcdetach() 1091 PMCLOG_EMIT32(pm->pm_id); in pmclog_process_proccsw() 1135 PMCLOG_EMIT32(pm->pm_id); in pmclog_process_procexit()
|
H A D | hwpmc_mod.c | 1394 pmclog_process_procexec(po, pm->pm_id, p->p_pid, in pmc_process_exec() 3002 if (pm->pm_id == pmcid) in pmc_find_pmc_descriptor_in_process() 3389 pmc->pm_id = PMC_ID_MAKE_ID(cpu, pa->pm_mode, class, PMC_ID_INVALID); in pmc_do_op_pmcallocate() 3465 pmc->pm_id = PMC_ID_MAKE_ID(cpu, mode, class, n); in pmc_do_op_pmcallocate() 3468 pmc->pm_event, class, mode, n, pmc->pm_id); in pmc_do_op_pmcallocate() 3523 pa->pm_pmcid = pmc->pm_id; in pmc_do_op_pmcallocate() 4450 KASSERT(pmcid == pm->pm_id, in pmc_syscall_handler() 4452 pm->pm_id, pmcid)); in pmc_syscall_handler() 4492 KASSERT(pmcid == pm->pm_id, in pmc_syscall_handler() 4494 pm->pm_id, pmcid)); in pmc_syscall_handler()
|