Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/perf/
Driscv_pmu_sbi.c571 struct cpu_hw_events *cpu_hw_evt = per_cpu_ptr(pmu->hw_events, cpu); in pmu_sbi_snapshot_free() local
573 if (!cpu_hw_evt->snapshot_addr) in pmu_sbi_snapshot_free()
576 free_page((unsigned long)cpu_hw_evt->snapshot_addr); in pmu_sbi_snapshot_free()
577 cpu_hw_evt->snapshot_addr = NULL; in pmu_sbi_snapshot_free()
578 cpu_hw_evt->snapshot_addr_phys = 0; in pmu_sbi_snapshot_free()
588 struct cpu_hw_events *cpu_hw_evt = per_cpu_ptr(pmu->hw_events, cpu); in pmu_sbi_snapshot_alloc() local
595 cpu_hw_evt->snapshot_addr = page_to_virt(snapshot_page); in pmu_sbi_snapshot_alloc()
596 cpu_hw_evt->snapshot_addr_phys = page_to_phys(snapshot_page); in pmu_sbi_snapshot_alloc()
618 struct cpu_hw_events *cpu_hw_evt; in pmu_sbi_snapshot_setup() local
621 cpu_hw_evt = per_cpu_ptr(pmu->hw_events, cpu); in pmu_sbi_snapshot_setup()
[all …]