Home
last modified time | relevance | path

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

/linux/fs/resctrl/
H A Dmonitor.c355 u32 rmid, enum resctrl_event_id evtid) in get_mbm_state() argument
360 if (!resctrl_is_mbm_event(evtid)) in get_mbm_state()
363 state = d->mbm_states[MBM_STATE_IDX(evtid)]; in get_mbm_state()
375 struct rdtgroup *rdtgrp, enum resctrl_event_id evtid) in mbm_cntr_get() argument
382 if (!resctrl_is_mbm_event(evtid)) in mbm_cntr_get()
387 d->cntr_cfg[cntr_id].evtid == evtid) in mbm_cntr_get()
402 struct rdtgroup *rdtgrp, enum resctrl_event_id evtid) in mbm_cntr_alloc() argument
409 d->cntr_cfg[cntr_id].evtid = evtid; in mbm_cntr_alloc()
442 cntr_id = mbm_cntr_get(rr->r, d, rdtgrp, rr->evt->evtid); in __l3_mon_event_count()
451 resctrl_arch_reset_cntr(rr->r, d, closid, rmid, cntr_id, rr->evt->evtid); in __l3_mon_event_count()
[all …]
H A Drdtgroup.c1723 static int mbm_config_show(struct seq_file *s, struct rdt_resource *r, u32 evtid) in mbm_config_show() argument
1739 mon_info.evtid = evtid; in mbm_config_show()
1779 struct rdt_l3_mon_domain *d, u32 evtid, u32 val) in mbm_config_write_domain() argument
1789 mon_info.evtid = evtid; in mbm_config_write_domain()
1817 static int mon_config_write(struct rdt_resource *r, char *tok, u32 evtid) in mon_config_write() argument
1853 mbm_config_write_domain(r, d, evtid, val); in mon_config_write()
2430 if (mevt->rid != r->rid || !mevt->enabled || !resctrl_is_mbm_event(mevt->evtid)) in resctrl_mkdir_event_configs()
3538 if (hdr && resctrl_is_mbm_event(mevt->evtid)) in _mkdir_mondata_subdir()
/linux/arch/x86/kernel/cpu/resctrl/
H A Dmonitor.c552 enum resctrl_event_id evtid, u32 rmid, u32 closid, in resctrl_arch_config_cntr() argument
564 abmc_cfg.split.bw_type = resctrl_get_mon_evt_cfg(evtid); in resctrl_arch_config_cntr()
572 am = get_arch_mbm_state(hw_dom, rmid, evtid); in resctrl_arch_config_cntr()
/linux/drivers/perf/
H A Dalibaba_uncore_drw_pmu.c615 int evtid; in ali_drw_pmu_add() local
617 evtid = GET_DRW_EVENTID(event); in ali_drw_pmu_add()
619 if (evtid != ALI_DRW_PMU_CYCLE_EVT_ID) { in ali_drw_pmu_add()
624 drw_pmu->evtids[idx] = evtid; in ali_drw_pmu_add()