Home
last modified time | relevance | path

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

/linux/arch/x86/events/amd/
H A Dbrs.c205 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in amd_brs_enable()
221 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in amd_brs_enable_all()
228 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in amd_brs_disable()
257 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in amd_brs_disable_all()
283 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in amd_brs_drain()
[all...]
H A Dlbr.c100 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in amd_pmu_lbr_filter()
163 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in amd_pmu_lbr_read()
323 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in amd_pmu_lbr_reset()
342 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in amd_pmu_lbr_add()
362 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in amd_pmu_lbr_del()
[all...]
H A Dcore.c394 static inline int amd_has_nb(struct cpu_hw_events *cpuc) in amd_has_nb()
422 static void __amd_put_nb_event_constraints(struct cpu_hw_events *cpuc, in __amd_put_nb_event_constraints()
481 __amd_get_nb_event_constraints(struct cpu_hw_events *cpuc, struct perf_event *event, in __amd_get_nb_event_constraints()
579 struct cpu_hw_events *cpuc = &per_cpu(cpu_hw_events, cpu); in amd_pmu_cpu_prepare()
603 struct cpu_hw_events *cpuc = &per_cpu(cpu_hw_events, cpu); in amd_pmu_cpu_starting()
618 nb = per_cpu(cpu_hw_events, i).amd_nb; in amd_pmu_cpu_starting()
635 struct cpu_hw_events *cpuhw = &per_cpu(cpu_hw_events, cp in amd_pmu_cpu_dead()
[all...]
/linux/arch/sh/kernel/
H A Dperf_event.c28 struct cpu_hw_events { struct
34 DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events); argument
201 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in sh_pmu_stop()
219 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in sh_pmu_start()
236 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in sh_pmu_del()
246 struct cpu_hw_events *cpu in sh_pmu_add()
[all...]
/linux/arch/x86/events/intel/
H A Dlbr.c106 static void intel_pmu_lbr_filter(struct cpu_hw_events *cpuc);
123 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in __intel_pmu_lbr_enable()
192 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in intel_pmu_lbr_reset()
362 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in intel_pmu_lbr_restore()
433 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in __intel_pmu_lbr_restore()
460 struct cpu_hw_events *cpu in intel_pmu_lbr_save()
[all...]
H A Dds.c551 struct debug_store *ds = per_cpu(cpu_hw_events, cpu).ds; in init_debug_store_on_cpu()
563 if (!per_cpu(cpu_hw_events, cpu).ds) in fini_debug_store_on_cpu()
622 struct cpu_hw_events *hwev = per_cpu_ptr(&cpu_hw_events, cpu); in alloc_pebs_buffer()
660 struct cpu_hw_events *hwev = per_cpu_ptr(&cpu_hw_events, cpu); in release_pebs_buffer()
678 struct cpu_hw_events *hwev = per_cpu_ptr(&cpu_hw_events, cpu); in alloc_bts_buffer()
707 struct cpu_hw_events *hwev = per_cpu_ptr(&cpu_hw_events, cp in release_bts_buffer()
[all...]
H A Dcore.c2299 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in __intel_pmu_disable_all()
2316 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in __intel_pmu_enable_all()
2350 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in __intel_pmu_snapshot_branch_stack()
2403 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in intel_pmu_nhm_workaround()
2468 static void intel_set_tfa(struct cpu_hw_events *cpuc, bool on) in intel_set_tfa()
2478 static void intel_tfa_commit_scheduling(struct cpu_hw_events *cpu
[all...]
H A Dbts.c148 struct debug_store *ds = per_cpu(cpu_hw_events, cpu).ds; in bts_config_buffer()
187 struct debug_store *ds = per_cpu(cpu_hw_events, cpu).ds; in bts_update()
263 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in bts_event_start()
308 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in bts_event_stop()
463 struct debug_store *ds = this_cpu_ptr(&cpu_hw_events)->ds; in intel_bts_interrupt()
538 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in bts_event_add()
H A Dknc.c217 struct cpu_hw_events *cpuc; in knc_pmu_handle_irq()
222 cpuc = this_cpu_ptr(&cpu_hw_events); in knc_pmu_handle_irq()
H A Dp4.c921 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in p4_pmu_disable_all()
1000 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in p4_pmu_enable_all()
1037 struct cpu_hw_events *cpuc; in p4_pmu_handle_irq()
1043 cpuc = this_cpu_ptr(&cpu_hw_events); in p4_pmu_handle_irq()
1241 static int p4_pmu_schedule_events(struct cpu_hw_events *cpuc, int n, int *assign) in p4_pmu_schedule_events()
/linux/arch/powerpc/perf/
H A Dcore-fsl-emb.c19 struct cpu_hw_events { struct
25 static DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events); argument
192 struct cpu_hw_events *cpuhw; in fsl_emb_pmu_disable()
196 cpuhw = this_cpu_ptr(&cpu_hw_events); in fsl_emb_pmu_disable()
231 struct cpu_hw_events *cpuhw; in fsl_emb_pmu_enable()
235 cpuhw = this_cpu_ptr(&cpu_hw_events); in fsl_emb_pmu_enable()
278 struct cpu_hw_events *cpuhw; in fsl_emb_pmu_add()
285 cpuhw = &get_cpu_var(cpu_hw_events); in fsl_emb_pmu_add()
331 put_cpu_var(cpu_hw_events); in fsl_emb_pmu_add()
[all...]
/linux/arch/loongarch/kernel/
H A Dperf_event.c89 struct cpu_hw_events { struct
104 static DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events) = { argument
253 static int loongarch_pmu_alloc_counter(struct cpu_hw_events *cpuc, struct hw_perf_event *hwc) in loongarch_pmu_alloc_counter()
269 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in loongarch_pmu_enable_event()
288 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in loongarch_pmu_disable_event()
388 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in loongarch_pmu_add()
[all...]
/linux/arch/x86/events/
H A Dcore.c53 DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events) = {
694 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in x86_pmu_disable_all()
734 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in x86_pmu_disable()
751 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in x86_pmu_enable_all()
782 struct cpu_hw_events *cpuc = &per_cpu(cpu_hw_events, cp in x86_get_pmu()
[all...]
/linux/arch/mips/kernel/
H A Dperf_event_mipsxx.c31 struct cpu_hw_events { struct
48 DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events) = { argument
314 static int mipsxx_pmu_alloc_counter(struct cpu_hw_events *cpuc, in mipsxx_pmu_alloc_counter()
351 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in mipsxx_pmu_enable_event()
397 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in mipsxx_pmu_disable_event()
501 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in mipspmu_add()
[all...]
/linux/drivers/perf/
H A Driscv_pmu_sbi.c406 struct cpu_hw_events *cpuc = this_cpu_ptr(rvpmu->hw_events); in pmu_sbi_ctr_get_idx()
465 struct cpu_hw_events *cpuc = this_cpu_ptr(rvpmu->hw_events); in pmu_sbi_ctr_clear_idx()
573 struct cpu_hw_events *cpu_hw_evt = per_cpu_ptr(pmu->hw_events, cpu); in pmu_sbi_snapshot_free()
590 struct cpu_hw_events *cpu_hw_evt = per_cpu_ptr(pmu->hw_events, cpu); in pmu_sbi_snapshot_alloc()
620 struct cpu_hw_events *cpu_hw_evt; in pmu_sbi_snapshot_setup()
658 struct cpu_hw_events *cpu_hw_evt = this_cpu_ptr(pmu->hw_events); in pmu_sbi_ctr_read()
739 struct cpu_hw_events *cpu_hw_evt = this_cpu_ptr(pmu->hw_events); in pmu_sbi_ctr_stop()
824 struct cpu_hw_events *cpu_hw_evt = this_cpu_ptr(pmu->hw_events); in pmu_sbi_stop_hw_ctrs()
866 static inline void pmu_sbi_start_ovf_ctrs_sbi(struct cpu_hw_events *cpu_hw_evt, in pmu_sbi_start_ovf_ctrs_sbi()
905 static inline void pmu_sbi_start_ovf_ctrs_snapshot(struct cpu_hw_events *cpu_hw_ev
[all...]
/linux/include/linux/perf/
H A Driscv_pmu.h31 struct cpu_hw_events { struct
71 struct cpu_hw_events __percpu *hw_events; argument
33 n_eventscpu_hw_events global() argument
35 irqcpu_hw_events global() argument
37 eventscpu_hw_events global() argument
43 snapshot_addrcpu_hw_events global() argument
45 snapshot_addr_physcpu_hw_events global() argument
47 snapshot_set_donecpu_hw_events global() argument