Home
last modified time | relevance | path

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

/linux-6.6.21/arch/x86/kernel/cpu/resctrl/
Dmonitor.c387 enum resctrl_event_id evtid) in get_mbm_state() argument
389 switch (evtid) { in get_mbm_state()
405 resctrl_arch_reset_rmid(rr->r, rr->d, rmid, rr->evtid); in __mon_event_count()
406 m = get_mbm_state(rr->d, rmid, rr->evtid); in __mon_event_count()
412 rr->err = resctrl_arch_rmid_read(rr->r, rr->d, rmid, rr->evtid, &tval); in __mon_event_count()
616 rr.evtid = QOS_L3_MBM_TOTAL_EVENT_ID; in mbm_update()
621 rr.evtid = QOS_L3_MBM_LOCAL_EVENT_ID; in mbm_update()
746 .evtid = QOS_L3_OCCUP_EVENT_ID,
751 .evtid = QOS_L3_MBM_TOTAL_EVENT_ID,
756 .evtid = QOS_L3_MBM_LOCAL_EVENT_ID,
Dctrlmondata.c525 int evtid, int first) in mon_event_read() argument
531 rr->evtid = evtid; in mon_event_read()
543 u32 resid, evtid, domid; in rdtgroup_mondata_show() local
560 evtid = md.u.evtid; in rdtgroup_mondata_show()
569 mon_event_read(&rr, r, d, rdtgrp, evtid, false); in rdtgroup_mondata_show()
Dinternal.h82 enum resctrl_event_id evtid; member
101 enum resctrl_event_id evtid : 8; member
110 enum resctrl_event_id evtid; member
545 int evtid, int first);
Drdtgroup.c1441 u32 evtid; member
1456 static inline unsigned int mon_event_config_index_get(u32 evtid) in mon_event_config_index_get() argument
1458 switch (evtid) { in mon_event_config_index_get()
1475 index = mon_event_config_index_get(mon_info->evtid); in mon_event_config_read()
1477 pr_warn_once("Invalid event id %d\n", mon_info->evtid); in mon_event_config_read()
1491 static int mbm_config_show(struct seq_file *s, struct rdt_resource *r, u32 evtid) in mbm_config_show() argument
1504 mon_info.evtid = evtid; in mbm_config_show()
1542 index = mon_event_config_index_get(mon_info->evtid); in mon_event_config_write()
1544 pr_warn_once("Invalid event id %d\n", mon_info->evtid); in mon_event_config_write()
1551 struct rdt_domain *d, u32 evtid, u32 val) in mbm_config_write_domain() argument
[all …]
/linux-6.6.21/drivers/perf/
Dalibaba_uncore_drw_pmu.c626 int evtid; in ali_drw_pmu_add() local
628 evtid = GET_DRW_EVENTID(event); in ali_drw_pmu_add()
630 if (evtid != ALI_DRW_PMU_CYCLE_EVT_ID) { in ali_drw_pmu_add()
635 drw_pmu->evtids[idx] = evtid; in ali_drw_pmu_add()