Home
last modified time | relevance | path

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

/openbmc/linux/drivers/perf/
H A Driscv_pmu_sbi.c619 struct cpu_hw_events *cpu_hw_evt = this_cpu_ptr(pmu->hw_events); in pmu_sbi_stop_hw_ctrs() local
623 cpu_hw_evt->used_hw_ctrs[0], 0, 0, 0, 0); in pmu_sbi_stop_hw_ctrs()
636 struct cpu_hw_events *cpu_hw_evt = this_cpu_ptr(pmu->hw_events); in pmu_sbi_start_overflow_mask() local
644 ctr_start_mask = cpu_hw_evt->used_hw_ctrs[0] & ~ctr_ovf_mask; in pmu_sbi_start_overflow_mask()
653 event = cpu_hw_evt->events[idx]; in pmu_sbi_start_overflow_mask()
682 struct cpu_hw_events *cpu_hw_evt = dev; in pmu_sbi_ovf_handler() local
685 if (WARN_ON_ONCE(!cpu_hw_evt)) in pmu_sbi_ovf_handler()
695 event = cpu_hw_evt->events[fidx]; in pmu_sbi_ovf_handler()
720 struct perf_event *event = cpu_hw_evt->events[lidx]; in pmu_sbi_ovf_handler()
767 struct cpu_hw_events *cpu_hw_evt = this_cpu_ptr(pmu->hw_events); in pmu_sbi_starting_cpu() local
[all …]