Home
last modified time | relevance | path

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

/linux/drivers/perf/
H A Driscv_pmu_sbi.c661 struct cpu_hw_events *cpu_hw_evt = per_cpu_ptr(pmu->hw_events, cpu); in pmu_sbi_snapshot_free() local
663 if (!cpu_hw_evt->snapshot_addr) in pmu_sbi_snapshot_free()
666 free_page((unsigned long)cpu_hw_evt->snapshot_addr); in pmu_sbi_snapshot_free()
667 cpu_hw_evt->snapshot_addr = NULL; in pmu_sbi_snapshot_free()
668 cpu_hw_evt->snapshot_addr_phys = 0; in pmu_sbi_snapshot_free()
678 struct cpu_hw_events *cpu_hw_evt = per_cpu_ptr(pmu->hw_events, cpu); in pmu_sbi_snapshot_alloc() local
685 cpu_hw_evt->snapshot_addr = page_to_virt(snapshot_page); in pmu_sbi_snapshot_alloc()
686 cpu_hw_evt->snapshot_addr_phys = page_to_phys(snapshot_page); in pmu_sbi_snapshot_alloc()
708 struct cpu_hw_events *cpu_hw_evt; in pmu_sbi_snapshot_setup() local
711 cpu_hw_evt = per_cpu_ptr(pmu->hw_events, cpu); in pmu_sbi_snapshot_setup()
[all …]