Home
last modified time | relevance | path

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

/linux-6.15/arch/x86/kernel/cpu/resctrl/
H A Dmonitor.c579 u32 rmid, enum resctrl_event_id evtid) in get_mbm_state() argument
583 switch (evtid) { in get_mbm_state()
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()
669 m = get_mbm_state(rr->d, closid, rmid, rr->evtid); in mbm_bw_count()
838 u32 closid, u32 rmid, enum resctrl_event_id evtid) in mbm_update_one_event() argument
844 rr.evtid = evtid; in mbm_update_one_event()
1080 .evtid = QOS_L3_OCCUP_EVENT_ID,
1085 .evtid = QOS_L3_MBM_TOTAL_EVENT_ID,
[all …]
H A Dctrlmondata.c624 cpumask_t *cpumask, int evtid, int first) in mon_event_read() argument
635 rr->evtid = evtid; in mon_event_read()
639 rr->arch_mon_ctx = resctrl_arch_mon_ctx_alloc(r, evtid); in mon_event_read()
658 resctrl_arch_mon_ctx_free(r, evtid, rr->arch_mon_ctx); in mon_event_read()
667 u32 resid, evtid, domid; in rdtgroup_mondata_show() local
682 evtid = md.u.evtid; in rdtgroup_mondata_show()
696 &d->ci->shared_cpu_map, evtid, false); in rdtgroup_mondata_show()
713 mon_event_read(&rr, r, d, rdtgrp, &d->hdr.cpu_mask, evtid, false); in rdtgroup_mondata_show()
H A Dinternal.h99 enum resctrl_event_id evtid; member
123 enum resctrl_event_id evtid : 7; member
151 enum resctrl_event_id evtid; member
494 cpumask_t *cpumask, int evtid, int first);
H A Drdtgroup.c1616 switch (evtid) { in mon_event_config_index_get()
1633 index = mon_event_config_index_get(config_info->evtid); in resctrl_arch_mon_event_config_read()
1635 pr_warn_once("Invalid event id %d\n", config_info->evtid); in resctrl_arch_mon_event_config_read()
1666 mon_info.evtid = evtid; in mbm_config_show()
1705 index = mon_event_config_index_get(config_info->evtid); in resctrl_arch_mon_event_config_write()
1707 pr_warn_once("Invalid event id %d\n", config_info->evtid); in resctrl_arch_mon_event_config_write()
1714 struct rdt_mon_domain *d, u32 evtid, u32 val) in mbm_config_write_domain() argument
1724 mon_info.evtid = evtid; in mbm_config_write_domain()
1788 mbm_config_write_domain(r, d, evtid, val); in mon_config_write()
3177 priv.u.evtid = mevt->evtid; in mon_add_all_files()
[all …]
/linux-6.15/arch/x86/include/asm/
H A Dresctrl.h197 static inline void *resctrl_arch_mon_ctx_alloc(struct rdt_resource *r, int evtid) in resctrl_arch_mon_ctx_alloc() argument
203 static inline void resctrl_arch_mon_ctx_free(struct rdt_resource *r, int evtid, in resctrl_arch_mon_ctx_free() argument
/linux-6.15/drivers/perf/
H A Dalibaba_uncore_drw_pmu.c618 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()
/linux-6.15/include/linux/
H A Dresctrl.h318 u32 evtid; member