Searched refs:evtid (Results 1 - 6 of 6) sorted by relevance
/linux-master/arch/x86/include/asm/ |
H A D | resctrl.h | 178 static inline void *resctrl_arch_mon_ctx_alloc(struct rdt_resource *r, int evtid) argument 184 static inline void resctrl_arch_mon_ctx_free(struct rdt_resource *r, int evtid, argument
|
/linux-master/arch/x86/kernel/cpu/resctrl/ |
H A D | ctrlmondata.c | 542 int evtid, int first) 553 rr->evtid = evtid; 558 rr->arch_mon_ctx = resctrl_arch_mon_ctx_alloc(r, evtid); 577 resctrl_arch_mon_ctx_free(r, evtid, rr->arch_mon_ctx); 583 u32 resid, evtid, domid; local 600 evtid = md.u.evtid; 609 mon_event_read(&rr, r, d, rdtgrp, evtid, false); 540 mon_event_read(struct rmid_read *rr, struct rdt_resource *r, struct rdt_domain *d, struct rdtgroup *rdtgrp, int evtid, int first) argument
|
H A D | monitor.c | 524 u32 rmid, enum resctrl_event_id evtid) 528 switch (evtid) { 544 resctrl_arch_reset_rmid(rr->r, rr->d, closid, rmid, rr->evtid); 545 m = get_mbm_state(rr->d, closid, rmid, rr->evtid); 551 rr->err = resctrl_arch_rmid_read(rr->r, rr->d, closid, rmid, rr->evtid, 739 rr.evtid = QOS_L3_MBM_TOTAL_EVENT_ID; 741 rr.arch_mon_ctx = resctrl_arch_mon_ctx_alloc(rr.r, rr.evtid); 750 resctrl_arch_mon_ctx_free(rr.r, rr.evtid, rr.arch_mon_ctx); 753 rr.evtid = QOS_L3_MBM_LOCAL_EVENT_ID; 755 rr.arch_mon_ctx = resctrl_arch_mon_ctx_alloc(rr.r, rr.evtid); 523 get_mbm_state(struct rdt_domain *d, u32 closid, u32 rmid, enum resctrl_event_id evtid) argument [all...] |
H A D | internal.h | 117 * @evtid: event id 123 enum resctrl_event_id evtid; member in struct:mon_evt 134 * @evtid: Event id associated with the event file 142 enum resctrl_event_id evtid : 8; member in struct:mon_data_bits::__anon6 151 enum resctrl_event_id evtid; member in struct:rmid_read 592 int evtid, int first);
|
H A D | rdtgroup.c | 1549 u32 evtid; member in struct:mon_config_info 1558 * @evtid: event id. 1560 * Return: 0 for evtid == QOS_L3_MBM_TOTAL_EVENT_ID 1561 * 1 for evtid == QOS_L3_MBM_LOCAL_EVENT_ID 1562 * INVALID_CONFIG_INDEX for invalid evtid 1564 static inline unsigned int mon_event_config_index_get(u32 evtid) argument 1566 switch (evtid) { 1583 index = mon_event_config_index_get(mon_info->evtid); 1585 pr_warn_once("Invalid event id %d\n", mon_info->evtid); 1599 static int mbm_config_show(struct seq_file *s, struct rdt_resource *r, u32 evtid) argument 1660 mbm_config_write_domain(struct rdt_resource *r, struct rdt_domain *d, u32 evtid, u32 val) argument 1697 mon_config_write(struct rdt_resource *r, char *tok, u32 evtid) argument [all...] |
/linux-master/drivers/perf/ |
H A D | alibaba_uncore_drw_pmu.c | 626 int evtid; local 628 evtid = GET_DRW_EVENTID(event); 630 if (evtid != ALI_DRW_PMU_CYCLE_EVT_ID) { 635 drw_pmu->evtids[idx] = evtid;
|
Completed in 177 milliseconds