Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm/kernel/
H A Dperf_event_v6.c348 cpu_pmu->disable(event); in armv6pmu_handle_irq()
502 cpu_pmu->stop = armv6pmu_stop; in armv6pmu_init()
504 cpu_pmu->num_events = 3; in armv6pmu_init()
509 armv6pmu_init(cpu_pmu); in armv6_1136_pmu_init()
510 cpu_pmu->name = "armv6_1136"; in armv6_1136_pmu_init()
516 armv6pmu_init(cpu_pmu); in armv6_1156_pmu_init()
517 cpu_pmu->name = "armv6_1156"; in armv6_1156_pmu_init()
523 armv6pmu_init(cpu_pmu); in armv6_1176_pmu_init()
524 cpu_pmu->name = "armv6_1176"; in armv6_1176_pmu_init()
553 cpu_pmu->stop = armv6pmu_stop; in armv6mpcore_pmu_init()
[all …]
H A Dperf_event_v7.c995 cpu_pmu->disable(event); in armv7pmu_handle_irq()
1098 if (cpu_pmu->secure_access) { in armv7pmu_reset()
1202 armv7pmu_init(cpu_pmu); in armv7_a8_pmu_init()
1214 armv7pmu_init(cpu_pmu); in armv7_a9_pmu_init()
1226 armv7pmu_init(cpu_pmu); in armv7_a5_pmu_init()
1238 armv7pmu_init(cpu_pmu); in armv7_a15_pmu_init()
1251 armv7pmu_init(cpu_pmu); in armv7_a7_pmu_init()
1264 armv7pmu_init(cpu_pmu); in armv7_a12_pmu_init()
1656 armv7pmu_init(cpu_pmu); in krait_pmu_init()
1986 armv7pmu_init(cpu_pmu); in scorpion_pmu_init()
[all …]
H A Dperf_event_xscale.c190 cpu_pmu->disable(event); in xscale1pmu_handle_irq()
372 cpu_pmu->name = "armv5_xscale1"; in xscale1pmu_init()
380 cpu_pmu->start = xscale1pmu_start; in xscale1pmu_init()
381 cpu_pmu->stop = xscale1pmu_stop; in xscale1pmu_init()
382 cpu_pmu->map_event = xscale_map_event; in xscale1pmu_init()
383 cpu_pmu->num_events = 3; in xscale1pmu_init()
536 cpu_pmu->disable(event); in xscale2pmu_handle_irq()
741 cpu_pmu->name = "armv5_xscale2"; in xscale2pmu_init()
749 cpu_pmu->start = xscale2pmu_start; in xscale2pmu_init()
750 cpu_pmu->stop = xscale2pmu_stop; in xscale2pmu_init()
[all …]
/openbmc/linux/drivers/perf/
H A Dapple_m1_cpu_pmu.c399 cpu_pmu->stop(cpu_pmu); in m1_pmu_handle_irq()
419 cpu_pmu->start(cpu_pmu); in m1_pmu_handle_irq()
548 cpu_pmu->start = m1_pmu_start; in m1_pmu_init()
549 cpu_pmu->stop = m1_pmu_stop; in m1_pmu_init()
552 cpu_pmu->map_event = m1_pmu_map_event; in m1_pmu_init()
554 cpu_pmu->map_event = m2_pmu_map_event; in m1_pmu_init()
558 cpu_pmu->reset = m1_pmu_reset; in m1_pmu_init()
570 cpu_pmu->name = "apple_icestorm_pmu"; in m1_pmu_ice_init()
576 cpu_pmu->name = "apple_firestorm_pmu"; in m1_pmu_fire_init()
582 cpu_pmu->name = "apple_avalanche_pmu"; in m2_pmu_avalanche_init()
[all …]
H A Darm_pmuv3.c794 armv8pmu_stop(cpu_pmu); in armv8pmu_handle_irq()
822 cpu_pmu->disable(event); in armv8pmu_handle_irq()
824 armv8pmu_start(cpu_pmu); in armv8pmu_handle_irq()
830 struct arm_pmu *cpu_pmu) in armv8pmu_get_single_idx() argument
842 struct arm_pmu *cpu_pmu) in armv8pmu_get_chain_idx() argument
1110 cpu_pmu->pmuver = pmuver; in __armv8pmu_probe_pmu()
1118 cpu_pmu->num_events += 1; in __armv8pmu_probe_pmu()
1136 cpu_pmu->reg_pmmir = 0; in __armv8pmu_probe_pmu()
1142 .pmu = cpu_pmu, in armv8pmu_probe_pmu()
1211 cpu_pmu->stop = armv8pmu_stop; in armv8_pmu_init()
[all …]
H A Darm_pmu.c808 static int cpu_pm_pmu_register(struct arm_pmu *cpu_pmu) in cpu_pm_pmu_register() argument
810 cpu_pmu->cpu_pm_nb.notifier_call = cpu_pm_pmu_notify; in cpu_pm_pmu_register()
811 return cpu_pm_register_notifier(&cpu_pmu->cpu_pm_nb); in cpu_pm_pmu_register()
816 cpu_pm_unregister_notifier(&cpu_pmu->cpu_pm_nb); in cpu_pm_pmu_unregister()
823 static int cpu_pmu_init(struct arm_pmu *cpu_pmu) in cpu_pmu_init() argument
828 &cpu_pmu->node); in cpu_pmu_init()
832 err = cpu_pm_pmu_register(cpu_pmu); in cpu_pmu_init()
840 &cpu_pmu->node); in cpu_pmu_init()
845 static void cpu_pmu_destroy(struct arm_pmu *cpu_pmu) in cpu_pmu_destroy() argument
847 cpu_pm_pmu_unregister(cpu_pmu); in cpu_pmu_destroy()
[all …]
/openbmc/linux/arch/arm64/kvm/
H A Dpmu-emul.c485 struct arm_pmu *cpu_pmu = to_arm_pmu(perf_event->pmu); in kvm_pmu_perf_overflow() local
490 cpu_pmu->pmu.stop(perf_event, PERF_EF_UPDATE); in kvm_pmu_perf_overflow()
517 cpu_pmu->pmu.start(perf_event, PERF_EF_RELOAD); in kvm_pmu_perf_overflow()
/openbmc/linux/tools/perf/util/
H A Dheader.c1585 struct perf_pmu *cpu_pmu = perf_pmus__find("cpu"); in write_cpu_pmu_caps() local
1588 if (!cpu_pmu) in write_cpu_pmu_caps()
1591 ret = perf_pmu__caps_parse(cpu_pmu); in write_cpu_pmu_caps()
1595 return __write_pmu_caps(ff, cpu_pmu, false); in write_cpu_pmu_caps()