Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/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()
689 fidx = find_first_bit(cpu_hw_evt->used_hw_ctrs, RISCV_MAX_COUNTERS); in pmu_sbi_ovf_handler()
695 event = cpu_hw_evt->events[fidx]; in pmu_sbi_ovf_handler()
719 for_each_set_bit(lidx, cpu_hw_evt in pmu_sbi_ovf_handler()
767 struct cpu_hw_events *cpu_hw_evt = this_cpu_ptr(pmu->hw_events); pmu_sbi_starting_cpu() local
[all...]

Completed in 1 milliseconds