Home
last modified time | relevance | path

Searched refs:pmu_events (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/arch/arm64/kvm/
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-5.10/drivers/perf/hisilicon/
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()
Dhisi_uncore_pmu.h61 struct hisi_pmu_hwevents pmu_events; member
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()
Dhisi_uncore_l3c_pmu.c191 event = l3c_pmu->pmu_events.hw_events[idx]; in hisi_l3c_pmu_isr()
Dhisi_uncore_hha_pmu.c192 event = hha_pmu->pmu_events.hw_events[idx]; in hisi_hha_pmu_isr()
/kernel/linux/linux-5.10/arch/arm64/kvm/hyp/nvhe/
Dswitch.c136 pmu = &host->pmu_events; in __pmu_switch_to_guest()
156 pmu = &host->pmu_events; in __pmu_switch_to_host()
/kernel/linux/linux-5.10/arch/powerpc/perf/
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-5.10/arch/arm64/include/asm/
Dkvm_host.h274 struct kvm_pmu_events pmu_events; member