/arch/x86/kvm/vmx/ |
D | pmu_intel.c | 38 static void reprogram_fixed_counters(struct kvm_pmu *pmu, u64 data) in reprogram_fixed_counters() 60 static void global_ctrl_changed(struct kvm_pmu *pmu, u64 data) in global_ctrl_changed() 73 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in intel_pmc_perf_hw_id() local 105 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in intel_pmc_is_enabled() local 113 static struct kvm_pmc *intel_pmc_idx_to_pmc(struct kvm_pmu *pmu, int pmc_idx) in intel_pmc_idx_to_pmc() 128 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_is_valid_rdpmc_ecx() local 140 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_rdpmc_ecx_to_pmc() local 172 static inline struct kvm_pmc *get_fw_gp_pmc(struct kvm_pmu *pmu, u32 msr) in get_fw_gp_pmc() 182 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_is_valid_msr() local 204 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_msr_idx_to_pmc() local [all …]
|
/arch/x86/kvm/svm/ |
D | pmu.c | 63 static unsigned int get_msr_base(struct kvm_pmu *pmu, enum pmu_type type) in get_msr_base() 114 static inline struct kvm_pmc *get_gp_pmc_amd(struct kvm_pmu *pmu, u32 msr, in get_gp_pmc_amd() 182 static struct kvm_pmc *amd_pmc_idx_to_pmc(struct kvm_pmu *pmu, int pmc_idx) in amd_pmc_idx_to_pmc() 201 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_is_valid_rdpmc_ecx() local 212 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_rdpmc_ecx_to_pmc() local 231 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_msr_idx_to_pmc() local 242 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_pmu_get_msr() local 264 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_pmu_set_msr() local 289 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_pmu_refresh() local 309 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_pmu_init() local [all …]
|
/arch/x86/kvm/ |
D | pmu.c | 54 struct kvm_pmu *pmu = container_of(irq_work, struct kvm_pmu, irq_work); in kvm_pmi_trigger_fn() local 65 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in kvm_perf_overflow() local 78 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in kvm_perf_overflow_intr() local 187 struct kvm_pmu *pmu = vcpu_to_pmu(pmc->vcpu); in reprogram_gp_counter() local 277 void reprogram_counter(struct kvm_pmu *pmu, int pmc_idx) in reprogram_counter() 297 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_handle_event() local 363 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_rdpmc() local 400 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_mark_pmc_in_use() local 429 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_reset() local 437 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_init() local [all …]
|
D | pmu.h | 8 #define pmu_to_vcpu(pmu) (container_of((pmu), struct kvm_vcpu, arch.pmu)) argument 45 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in pmc_bitmask() local 95 static inline bool kvm_valid_perf_global_ctrl(struct kvm_pmu *pmu, in kvm_valid_perf_global_ctrl() 105 static inline struct kvm_pmc *get_gp_pmc(struct kvm_pmu *pmu, u32 msr, in get_gp_pmc() 119 static inline struct kvm_pmc *get_fixed_pmc(struct kvm_pmu *pmu, u32 msr) in get_fixed_pmc()
|
/arch/arm64/kvm/ |
D | pmu-emul.c | 51 struct kvm_pmu *pmu; in kvm_pmc_to_vcpu() local 166 struct kvm_pmu *pmu = &vcpu->arch.pmu; in kvm_pmu_get_counter_value() local 252 struct kvm_pmu *pmu = &vcpu->arch.pmu; in kvm_pmu_vcpu_init() local 266 struct kvm_pmu *pmu = &vcpu->arch.pmu; in kvm_pmu_vcpu_reset() local 283 struct kvm_pmu *pmu = &vcpu->arch.pmu; in kvm_pmu_vcpu_destroy() local 311 struct kvm_pmu *pmu = &vcpu->arch.pmu; in kvm_pmu_enable_counter_mask() local 346 struct kvm_pmu *pmu = &vcpu->arch.pmu; in kvm_pmu_disable_counter_mask() local 384 struct kvm_pmu *pmu = &vcpu->arch.pmu; in kvm_pmu_update_state() local 405 struct kvm_pmu *pmu = &vcpu->arch.pmu; in kvm_pmu_should_notify_user() local 460 struct kvm_pmu *pmu; in kvm_pmu_perf_overflow_notify_vcpu() local [all …]
|
/arch/x86/events/ |
D | rapl.c | 110 struct pmu *pmu; member 116 struct pmu pmu; member 210 static void rapl_start_hrtimer(struct rapl_pmu *pmu) in rapl_start_hrtimer() 218 struct rapl_pmu *pmu = container_of(hrtimer, struct rapl_pmu, hrtimer); in rapl_hrtimer_handle() local 237 static void rapl_hrtimer_init(struct rapl_pmu *pmu) in rapl_hrtimer_init() 245 static void __rapl_pmu_event_start(struct rapl_pmu *pmu, in __rapl_pmu_event_start() 264 struct rapl_pmu *pmu = event->pmu_private; in rapl_pmu_event_start() local 274 struct rapl_pmu *pmu = event->pmu_private; in rapl_pmu_event_stop() local 308 struct rapl_pmu *pmu = event->pmu_private; in rapl_pmu_event_add() local 333 struct rapl_pmu *pmu; in rapl_pmu_event_init() local [all …]
|
/arch/x86/events/intel/ |
D | uncore.c | 105 struct intel_uncore_box *uncore_pmu_to_box(struct intel_uncore_pmu *pmu, int cpu) in uncore_pmu_to_box() 662 static int uncore_validate_group(struct intel_uncore_pmu *pmu, in uncore_validate_group() 703 struct intel_uncore_pmu *pmu; in uncore_pmu_event_init() local 782 static void uncore_pmu_enable(struct pmu *pmu) in uncore_pmu_enable() 799 static void uncore_pmu_disable(struct pmu *pmu) in uncore_pmu_disable() 833 static int uncore_pmu_register(struct intel_uncore_pmu *pmu) in uncore_pmu_register() 875 static void uncore_pmu_unregister(struct intel_uncore_pmu *pmu) in uncore_pmu_unregister() 883 static void uncore_free_boxes(struct intel_uncore_pmu *pmu) in uncore_free_boxes() 894 struct intel_uncore_pmu *pmu = type->pmus; in uncore_type_exit() local 1022 struct intel_uncore_pmu *pmu = NULL; in uncore_pci_find_dev_pmu() local [all …]
|
/arch/arm/boot/dts/ |
D | arm-realview-pba8.dts | 43 pmu: pmu@0 { label
|
D | arm-realview-eb-mp.dtsi | 106 pmu: pmu@0 { label
|
D | arm-realview-pbx-a9.dts | 100 pmu: pmu@0 { label
|
D | bcm28155-ap.dts | 52 pmu: pmu@8 { label
|
D | mstar-v7.dtsi | 43 pmu: pmu { label
|
D | meson8b.dtsi | 229 pmu: pmu@e0 { label
|
D | meson8.dtsi | 267 pmu: pmu@e0 { label
|
D | rk3xxx.dtsi | 286 pmu: pmu@20004000 { label
|
/arch/s390/kernel/ |
D | perf_cpum_cf.c | 121 static void cpumf_pmu_enable(struct pmu *pmu) in cpumf_pmu_enable() 144 static void cpumf_pmu_disable(struct pmu *pmu) in cpumf_pmu_disable() 486 static void cpumf_pmu_start_txn(struct pmu *pmu, unsigned int txn_flags) in cpumf_pmu_start_txn() 505 static void cpumf_pmu_cancel_txn(struct pmu *pmu) in cpumf_pmu_cancel_txn() 527 static int cpumf_pmu_commit_txn(struct pmu *pmu) in cpumf_pmu_commit_txn()
|
/arch/arm64/boot/dts/ti/ |
D | k3-am65.dtsi | 58 pmu: pmu { label
|
D | k3-j7200.dtsi | 116 pmu: pmu { label
|
D | k3-j721e.dtsi | 117 pmu: pmu { label
|
/arch/arm64/kvm/hyp/nvhe/ |
D | switch.c | 137 struct kvm_pmu_events *pmu; in __pmu_switch_to_guest() local 157 struct kvm_pmu_events *pmu; in __pmu_switch_to_host() local
|
/arch/sh/kernel/ |
D | perf_event.c | 325 static void sh_pmu_enable(struct pmu *pmu) in sh_pmu_enable() 333 static void sh_pmu_disable(struct pmu *pmu) in sh_pmu_disable() 341 static struct pmu pmu = { variable
|
/arch/powerpc/perf/ |
D | imc-pmu.c | 104 struct pmu *pmu = dev_get_drvdata(dev); in imc_pmu_cpumask_get_attr() local 220 static int update_events_in_group(struct device_node *node, struct imc_pmu *pmu) in update_events_in_group() 509 struct imc_pmu *pmu; in nest_imc_event_init() local 812 struct imc_pmu *pmu; in core_imc_event_init() local 977 struct imc_pmu *pmu; in thread_imc_event_init() local 1039 static void thread_imc_pmu_start_txn(struct pmu *pmu, in thread_imc_pmu_start_txn() 1047 static void thread_imc_pmu_cancel_txn(struct pmu *pmu) in thread_imc_pmu_cancel_txn() 1052 static int thread_imc_pmu_commit_txn(struct pmu *pmu) in thread_imc_pmu_commit_txn() 1472 static int update_pmu_ops(struct imc_pmu *pmu) in update_pmu_ops()
|
D | core-fsl-emb.c | 190 static void fsl_emb_pmu_disable(struct pmu *pmu) in fsl_emb_pmu_disable() 229 static void fsl_emb_pmu_enable(struct pmu *pmu) in fsl_emb_pmu_enable() 682 int register_fsl_emb_pmu(struct fsl_emb_pmu *pmu) in register_fsl_emb_pmu()
|
/arch/arm/mm/ |
D | cache-l2x0-pmu.c | 93 static void l2x0_pmu_enable(struct pmu *pmu) in l2x0_pmu_enable() 101 static void l2x0_pmu_disable(struct pmu *pmu) in l2x0_pmu_disable() 274 struct pmu *pmu = event->pmu; in l2x0_pmu_group_is_valid() local 354 struct pmu *pmu = dev_get_drvdata(dev); in l2x0_pmu_event_attr_is_visible() local
|
/arch/arc/kernel/ |
D | perf_event.c | 31 struct pmu pmu; member 228 static void arc_pmu_enable(struct pmu *pmu) in arc_pmu_enable() 236 static void arc_pmu_disable(struct pmu *pmu) in arc_pmu_disable()
|