Home
last modified time | relevance | path

Searched refs:pmu_events (Results 1 - 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/arch/arm64/kvm/
H A Dpmu.c40 ctx->pmu_events.events_host |= set; in kvm_set_pmu_events()
42 ctx->pmu_events.events_guest |= set; in kvm_set_pmu_events()
55 ctx->pmu_events.events_host &= ~clr; in kvm_clr_pmu_events()
56 ctx->pmu_events.events_guest &= ~clr; in kvm_clr_pmu_events()
180 events_guest = host->pmu_events.events_guest; in kvm_vcpu_pmu_restore_guest()
181 events_host = host->pmu_events.events_host; in kvm_vcpu_pmu_restore_guest()
200 events_guest = host->pmu_events.events_guest; in kvm_vcpu_pmu_restore_host()
201 events_host = host->pmu_events.events_host; in kvm_vcpu_pmu_restore_host()
/kernel/linux/linux-6.6/drivers/perf/hisilicon/
H A Dhisi_uncore_pmu.c101 unsigned long *used_mask = hisi_pmu->pmu_events.used_mask; in hisi_uncore_pmu_get_event_idx()
127 clear_bit(idx, hisi_pmu->pmu_events.used_mask); in hisi_uncore_pmu_clear_event_idx()
149 event = hisi_pmu->pmu_events.hw_events[idx]; in hisi_uncore_pmu_isr()
367 hisi_pmu->pmu_events.hw_events[idx] = event; in hisi_uncore_pmu_add()
384 hisi_pmu->pmu_events.hw_events[hwc->idx] = NULL; in hisi_uncore_pmu_del()
398 bool enabled = !bitmap_empty(hisi_pmu->pmu_events.used_mask, in hisi_uncore_pmu_enable()
550 pmu->attr_groups = hisi_pmu->pmu_events.attr_groups; in hisi_pmu_init()
H A Dhisi_uncore_ddrc_pmu.c170 unsigned long *used_mask = ddrc_pmu->pmu_events.used_mask; in hisi_ddrc_pmu_v1_get_event_idx()
470 ddrc_pmu->pmu_events.attr_groups = hisi_ddrc_pmu_v2_attr_groups; in hisi_ddrc_pmu_dev_probe()
475 ddrc_pmu->pmu_events.attr_groups = hisi_ddrc_pmu_v1_attr_groups; in hisi_ddrc_pmu_dev_probe()
H A Dhisi_uncore_pmu.h89 struct hisi_pmu_hwevents pmu_events; member
H A Dhisi_uncore_l3c_pmu.c516 l3c_pmu->pmu_events.attr_groups = hisi_l3c_pmu_v2_attr_groups; in hisi_l3c_pmu_dev_probe()
520 l3c_pmu->pmu_events.attr_groups = hisi_l3c_pmu_v1_attr_groups; in hisi_l3c_pmu_dev_probe()
H A Dhisi_uncore_hha_pmu.c482 hha_pmu->pmu_events.attr_groups = hisi_hha_pmu_v2_attr_groups; in hisi_hha_pmu_dev_probe()
487 hha_pmu->pmu_events.attr_groups = hisi_hha_pmu_v1_attr_groups; in hisi_hha_pmu_dev_probe()
H A Dhisi_uncore_cpa_pmu.c291 cpa_pmu->pmu_events.attr_groups = hisi_cpa_pmu_attr_groups; in hisi_cpa_pmu_dev_probe()
H A Dhisi_uncore_pa_pmu.c466 pa_pmu->pmu_events.attr_groups = pa_pmu->dev_info->attr_groups; in hisi_pa_pmu_dev_probe()
H A Dhisi_uncore_uc_pmu.c464 uc_pmu->pmu_events.attr_groups = hisi_uc_pmu_attr_groups; in hisi_uc_pmu_dev_probe()
H A Dhisi_uncore_sllc_pmu.c411 sllc_pmu->pmu_events.attr_groups = hisi_sllc_pmu_v2_attr_groups; in hisi_sllc_pmu_dev_probe()
/kernel/linux/linux-5.10/drivers/perf/hisilicon/
H A Dhisi_uncore_pmu.c108 unsigned long *used_mask = hisi_pmu->pmu_events.used_mask; in hisi_uncore_pmu_get_event_idx()
129 clear_bit(idx, hisi_pmu->pmu_events.used_mask); in hisi_uncore_pmu_clear_event_idx()
306 hisi_pmu->pmu_events.hw_events[idx] = event; in hisi_uncore_pmu_add()
323 hisi_pmu->pmu_events.hw_events[hwc->idx] = NULL; in hisi_uncore_pmu_del()
337 int enabled = bitmap_weight(hisi_pmu->pmu_events.used_mask, in hisi_uncore_pmu_enable()
H A Dhisi_uncore_ddrc_pmu.c146 unsigned long *used_mask = ddrc_pmu->pmu_events.used_mask; in hisi_ddrc_pmu_get_event_idx()
202 event = ddrc_pmu->pmu_events.hw_events[idx]; in hisi_ddrc_pmu_isr()
H A Dhisi_uncore_pmu.h61 struct hisi_pmu_hwevents pmu_events; member
H A Dhisi_uncore_hha_pmu.c192 event = hha_pmu->pmu_events.hw_events[idx]; in hisi_hha_pmu_isr()
H A Dhisi_uncore_l3c_pmu.c191 event = l3c_pmu->pmu_events.hw_events[idx]; in hisi_l3c_pmu_isr()
/kernel/linux/linux-5.10/arch/arm64/kvm/hyp/nvhe/
H A Dswitch.c136 pmu = &host->pmu_events; in __pmu_switch_to_guest()
156 pmu = &host->pmu_events; in __pmu_switch_to_host()
/kernel/linux/linux-6.6/arch/powerpc/perf/
H A Dimc-pmu.c225 struct device_node *np, *pmu_events; in update_events_in_group() local
232 pmu_events = of_find_node_by_phandle(handle); in update_events_in_group()
237 if (!pmu_events) in update_events_in_group()
241 ct = of_get_child_count(pmu_events); in update_events_in_group()
245 of_node_put(pmu_events); in update_events_in_group()
262 of_node_put(pmu_events); in update_events_in_group()
268 for_each_child_of_node(pmu_events, np) { in update_events_in_group()
274 of_node_put(pmu_events); in update_events_in_group()
/kernel/linux/linux-5.10/arch/powerpc/perf/
H A Dimc-pmu.c224 struct device_node *np, *pmu_events; in update_events_in_group() local
231 pmu_events = of_find_node_by_phandle(handle); in update_events_in_group()
236 if (!pmu_events) in update_events_in_group()
240 ct = of_get_child_count(pmu_events); in update_events_in_group()
263 for_each_child_of_node(pmu_events, np) { in update_events_in_group()
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dtests.h85 DECLARE_SUITE(pmu_events); variable
H A Dparse-events.c2716 pmu_events,
/kernel/linux/linux-5.10/arch/arm64/include/asm/
H A Dkvm_host.h274 struct kvm_pmu_events pmu_events; member

Completed in 20 milliseconds