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.c689 struct cpu_hw_events *cpu_hw_evt = per_cpu_ptr(pmu->hw_events, cpu); in pmu_sbi_snapshot_free() local
691 if (!cpu_hw_evt->snapshot_addr) in pmu_sbi_snapshot_free()
694 free_page((unsigned long)cpu_hw_evt->snapshot_addr); in pmu_sbi_snapshot_free()
695 cpu_hw_evt->snapshot_addr = NULL; in pmu_sbi_snapshot_free()
696 cpu_hw_evt->snapshot_addr_phys = 0; in pmu_sbi_snapshot_free()
706 struct cpu_hw_events *cpu_hw_evt = per_cpu_ptr(pmu->hw_events, cpu); in pmu_sbi_snapshot_alloc() local
713 cpu_hw_evt->snapshot_addr = page_to_virt(snapshot_page); in pmu_sbi_snapshot_alloc()
714 cpu_hw_evt->snapshot_addr_phys = page_to_phys(snapshot_page); in pmu_sbi_snapshot_alloc()
736 struct cpu_hw_events *cpu_hw_evt; in pmu_sbi_snapshot_setup() local
739 cpu_hw_evt = per_cpu_ptr(pmu->hw_events, cpu); in pmu_sbi_snapshot_setup()
[all …]