Searched refs:evtid (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/arch/x86/kernel/cpu/resctrl/ |
D | monitor.c | 579 u32 rmid, enum resctrl_event_id evtid) in get_mbm_state() argument 583 switch (evtid) { in get_mbm_state() 602 resctrl_arch_reset_rmid(rr->r, rr->d, closid, rmid, rr->evtid); in __mon_event_count() 603 m = get_mbm_state(rr->d, closid, rmid, rr->evtid); in __mon_event_count() 614 rr->evtid, &tval, rr->arch_mon_ctx); in __mon_event_count() 639 rr->evtid, &tval, rr->arch_mon_ctx); in __mon_event_count() 829 rr.evtid = QOS_L3_MBM_TOTAL_EVENT_ID; in mbm_update() 831 rr.arch_mon_ctx = resctrl_arch_mon_ctx_alloc(rr.r, rr.evtid); in mbm_update() 840 resctrl_arch_mon_ctx_free(rr.r, rr.evtid, rr.arch_mon_ctx); in mbm_update() 843 rr.evtid = QOS_L3_MBM_LOCAL_EVENT_ID; in mbm_update() [all …]
|
D | ctrlmondata.c | 523 cpumask_t *cpumask, int evtid, int first) in mon_event_read() argument 534 rr->evtid = evtid; in mon_event_read() 538 rr->arch_mon_ctx = resctrl_arch_mon_ctx_alloc(r, evtid); in mon_event_read() 557 resctrl_arch_mon_ctx_free(r, evtid, rr->arch_mon_ctx); in mon_event_read() 566 u32 resid, evtid, domid; in rdtgroup_mondata_show() local 581 evtid = md.u.evtid; in rdtgroup_mondata_show() 595 &d->ci->shared_cpu_map, evtid, false); in rdtgroup_mondata_show() 612 mon_event_read(&rr, r, d, rdtgrp, &d->hdr.cpu_mask, evtid, false); in rdtgroup_mondata_show()
|
D | internal.h | 123 enum resctrl_event_id evtid; member 147 enum resctrl_event_id evtid : 7; member 175 enum resctrl_event_id evtid; member 637 cpumask_t *cpumask, int evtid, int first);
|
D | rdtgroup.c | 1547 u32 evtid; member 1562 static inline unsigned int mon_event_config_index_get(u32 evtid) in mon_event_config_index_get() argument 1564 switch (evtid) { in mon_event_config_index_get() 1581 index = mon_event_config_index_get(mon_info->evtid); in mon_event_config_read() 1583 pr_warn_once("Invalid event id %d\n", mon_info->evtid); in mon_event_config_read() 1597 static int mbm_config_show(struct seq_file *s, struct rdt_resource *r, u32 evtid) in mbm_config_show() argument 1611 mon_info.evtid = evtid; in mbm_config_show() 1650 index = mon_event_config_index_get(mon_info->evtid); in mon_event_config_write() 1652 pr_warn_once("Invalid event id %d\n", mon_info->evtid); in mon_event_config_write() 1659 struct rdt_mon_domain *d, u32 evtid, u32 val) in mbm_config_write_domain() argument [all …]
|
/linux-6.12.1/arch/x86/include/asm/ |
D | resctrl.h | 172 static inline void *resctrl_arch_mon_ctx_alloc(struct rdt_resource *r, int evtid) in resctrl_arch_mon_ctx_alloc() argument 178 static inline void resctrl_arch_mon_ctx_free(struct rdt_resource *r, int evtid, in resctrl_arch_mon_ctx_free() argument
|
/linux-6.12.1/drivers/perf/ |
D | alibaba_uncore_drw_pmu.c | 618 int evtid; in ali_drw_pmu_add() local 620 evtid = GET_DRW_EVENTID(event); in ali_drw_pmu_add() 622 if (evtid != ALI_DRW_PMU_CYCLE_EVT_ID) { in ali_drw_pmu_add() 627 drw_pmu->evtids[idx] = evtid; in ali_drw_pmu_add()
|