Searched refs:pmu (Results 126 - 150 of 338) sorted by relevance

1234567891011>>

/linux-master/tools/perf/util/
H A Dperf_event_attr_fprintf.c10 #include "util/pmu.h"
80 static const char *stringify_perf_type_id(struct perf_pmu *pmu, u32 type) argument
82 if (pmu)
83 return pmu->name;
183 static void __p_type_id(struct perf_pmu *pmu, char *buf, size_t size, u64 value) argument
185 print_id_unsigned(stringify_perf_type_id(pmu, value));
225 static void __p_config_id(struct perf_pmu *pmu, char *buf, size_t size, u32 type, u64 value) argument
227 const char *name = perf_pmu__name_from_config(pmu, value);
260 #define p_type_id(val) __p_type_id(pmu, buf, BUF_SIZE, val)
261 #define p_config_id(val) __p_config_id(pmu, bu
276 struct perf_pmu *pmu = perf_pmus__find_by_type(attr->type); local
[all...]
/linux-master/drivers/perf/
H A Darm_pmuv3.c275 struct pmu *pmu = dev_get_drvdata(dev); local
276 struct arm_pmu *cpu_pmu = container_of(pmu, struct arm_pmu, pmu);
373 struct pmu *pmu = dev_get_drvdata(dev); local
374 struct arm_pmu *cpu_pmu = container_of(pmu, struct arm_pmu, pmu);
385 struct pmu *pmu local
397 struct pmu *pmu = dev_get_drvdata(dev); local
430 struct pmu *pmu = dev_get_drvdata(dev); local
1190 struct arm_pmu *pmu; member in struct:armv8pmu_probe_info
[all...]
H A Dqcom_l2_pmu.c106 * Aggregate PMU. Implements the core pmu functions and manages
112 struct pmu pmu; member in struct:l2cache_pmu
150 #define to_l2cache_pmu(p) (container_of(p, struct l2cache_pmu, pmu))
416 * Implementation of abstract pmu functionality required by
420 static void l2_cache_pmu_enable(struct pmu *pmu) argument
433 static void l2_cache_pmu_disable(struct pmu *pmu) argument
445 if (event->attr.type != event->pmu
[all...]
H A Dxgene_pmu.c78 #define to_pmu_dev(p) container_of(p, struct xgene_pmu_dev, pmu)
93 struct pmu pmu; member in struct:xgene_pmu_dev
102 void (*mask_int)(struct xgene_pmu *pmu);
103 void (*unmask_int)(struct xgene_pmu *pmu);
104 u64 (*read_counter)(struct xgene_pmu_dev *pmu, int idx);
105 void (*write_counter)(struct xgene_pmu_dev *pmu, int idx, u64 val);
855 static void xgene_perf_pmu_enable(struct pmu *pmu) argument
857 struct xgene_pmu_dev *pmu_dev = to_pmu_dev(pmu);
868 xgene_perf_pmu_disable(struct pmu *pmu) argument
1121 struct xgene_pmu_dev *pmu; local
[all...]
H A Dalibaba_uncore_drw_pmu.c105 struct pmu pmu; member in struct:ali_drw_pmu
108 #define to_ali_drw_pmu(p) (container_of(p, struct ali_drw_pmu, pmu))
268 struct ali_drw_pmu *drw_pmu = to_ali_drw_pmu(event->pmu);
282 struct ali_drw_pmu *drw_pmu = to_ali_drw_pmu(event->pmu);
319 struct ali_drw_pmu *drw_pmu = to_ali_drw_pmu(event->pmu);
338 struct ali_drw_pmu *drw_pmu = to_ali_drw_pmu(event->pmu);
355 struct ali_drw_pmu *drw_pmu = to_ali_drw_pmu(event->pmu);
527 struct ali_drw_pmu *drw_pmu = to_ali_drw_pmu(event->pmu);
530 struct device *dev = drw_pmu->pmu
[all...]
H A Darm-ccn.c143 struct arm_ccn_dt, pmu), struct arm_ccn, dt)
166 struct pmu pmu; member in struct:arm_ccn_dt
624 struct arm_ccn *ccn = pmu_to_arm_ccn(event->pmu);
682 struct arm_ccn *ccn = pmu_to_arm_ccn(event->pmu);
713 if (event->attr.type != event->pmu->type)
716 ccn = pmu_to_arm_ccn(event->pmu);
822 if (event->group_leader->pmu != event->pmu &&
827 if (sibling->pmu !
1130 arm_ccn_pmu_enable(struct pmu *pmu) argument
1139 arm_ccn_pmu_disable(struct pmu *pmu) argument
[all...]
/linux-master/arch/x86/events/amd/
H A Dibs.c38 * ENABLED; tracks the pmu::add(), pmu::del() state, when set the counter is taken
41 * STARTED/STOPPING/STOPPED; deal with pmu::start(), pmu::stop() state but are
59 * is not a given. With VALID set we can end up calling pmu::stop() again
62 * So what we do is set STOPPING before clearing EN to avoid the pmu::stop()
84 struct pmu pmu; member in struct:perf_ibs
185 if (perf_ibs_fetch.pmu.type == type)
187 if (perf_ibs_op.pmu
[all...]
/linux-master/drivers/hwtracing/ptt/
H A Dhisi_ptt.h221 struct pmu hisi_ptt_pmu;
255 #define to_hisi_ptt(pmu) container_of(pmu, struct hisi_ptt, hisi_ptt_pmu)
/linux-master/arch/arc/kernel/
H A Dperf_event.c193 struct pmu pmu; member in struct:arc_pmu
390 static void arc_pmu_enable(struct pmu *pmu) argument
398 static void arc_pmu_disable(struct pmu *pmu) argument
471 /* enable ARC pmu here */
570 arc_pmu_disable(&arc_pmu->pmu);
611 arc_pmu_enable(&arc_pmu->pmu);
790 arc_pmu->pmu
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
H A Dgk104.c57 gk104_pmu_pgob(struct nvkm_pmu *pmu, bool enable) argument
59 struct nvkm_device *device = pmu->subdev.device;
H A Dgk110.c32 gk110_pmu_pgob(struct nvkm_pmu *pmu, bool enable) argument
34 struct nvkm_device *device = pmu->subdev.device;
/linux-master/tools/perf/arch/x86/util/
H A Devsel.c6 #include "util/pmu.h"
53 u64 pmu = evsel->core.attr.config >> PERF_PMU_TYPE_SHIFT; local
62 if (!pmu)
/linux-master/drivers/perf/hisilicon/
H A Dhisi_uncore_pa_pmu.c63 struct hisi_pmu *pa_pmu = to_hisi_pmu(event->pmu);
77 struct hisi_pmu *pa_pmu = to_hisi_pmu(event->pmu);
91 struct hisi_pmu *pa_pmu = to_hisi_pmu(event->pmu);
104 struct hisi_pmu *pa_pmu = to_hisi_pmu(event->pmu);
113 struct hisi_pmu *pa_pmu = to_hisi_pmu(event->pmu);
126 struct hisi_pmu *pa_pmu = to_hisi_pmu(event->pmu);
505 ret = perf_pmu_register(&pa_pmu->pmu, name, -1);
521 perf_pmu_unregister(&pa_pmu->pmu);
H A Dhisi_uncore_sllc_pmu.c58 struct hisi_pmu *sllc_pmu = to_hisi_pmu(event->pmu);
72 struct hisi_pmu *sllc_pmu = to_hisi_pmu(event->pmu);
86 struct hisi_pmu *sllc_pmu = to_hisi_pmu(event->pmu);
103 struct hisi_pmu *sllc_pmu = to_hisi_pmu(event->pmu);
120 struct hisi_pmu *sllc_pmu = to_hisi_pmu(event->pmu);
138 struct hisi_pmu *sllc_pmu = to_hisi_pmu(event->pmu);
450 ret = perf_pmu_register(&sllc_pmu->pmu, name, -1);
467 perf_pmu_unregister(&sllc_pmu->pmu);
H A Dhisi_uncore_uc_pmu.c56 struct hisi_pmu *uc_pmu = to_hisi_pmu(event->pmu);
78 struct hisi_pmu *uc_pmu = to_hisi_pmu(event->pmu);
99 struct hisi_pmu *uc_pmu = to_hisi_pmu(event->pmu);
119 struct hisi_pmu *uc_pmu = to_hisi_pmu(event->pmu);
146 struct hisi_pmu *uc_pmu = to_hisi_pmu(event->pmu);
171 struct hisi_pmu *uc_pmu = to_hisi_pmu(event->pmu);
192 struct hisi_pmu *uc_pmu = to_hisi_pmu(event->pmu);
520 static void hisi_uc_pmu_unregister_pmu(void *pmu) argument
522 perf_pmu_unregister(pmu);
558 ret = perf_pmu_register(&uc_pmu->pmu, nam
[all...]
H A Dhns3_pmu.c305 struct pmu pmu; member in struct:hns3_pmu
316 #define to_hns3_pmu(p) (container_of((p), struct hns3_pmu, pmu))
1021 pci_err(hns3_pmu->pdev, "Invalid pmu event\n");
1063 if (leader->pmu != event->pmu)
1074 if (sibling->pmu != event->pmu)
1130 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu);
1212 struct hns3_pmu *hns3_pmu = to_hns3_pmu(event->pmu);
1374 hns3_pmu_enable(struct pmu *pmu) argument
1384 hns3_pmu_disable(struct pmu *pmu) argument
[all...]
/linux-master/arch/x86/events/
H A Dperf_event.h349 struct pmu *pmu; member in struct:cpu_hw_events
681 struct pmu pmu; member in struct:x86_hybrid_pmu
711 static __always_inline struct x86_hybrid_pmu *hybrid_pmu(struct pmu *pmu) argument
713 return container_of(pmu, struct x86_hybrid_pmu, pmu);
750 * struct x86_pmu - generic x86 pmu
917 * See struct pmu
1311 fixed_counter_disabled(int i, struct pmu *pmu) argument
[all...]
/linux-master/arch/riscv/include/asm/
H A Dkvm_vcpu_pmu.h29 /* Per virtual pmu counter data */
50 /* A flag to indicate that pmu initialization is done */
63 #define pmu_to_vcpu(pmu) (container_of((pmu), struct kvm_vcpu, arch.pmu_context))
/linux-master/arch/arm64/kvm/
H A DMakefile25 kvm-$(CONFIG_HW_PERF_EVENTS) += pmu-emul.o pmu.o
/linux-master/drivers/bcma/
H A Ddriver_chipcommon_pmu.c142 if (cc->pmu.rev >= 2)
281 cc->pmu.core = bcma_find_core(bus, BCMA_CORE_PMU);
282 if (!cc->pmu.core)
285 if (!cc->pmu.core)
286 cc->pmu.core = cc->core;
289 cc->pmu.rev = (pmucap & BCMA_CC_PMU_CAP_REVISION);
291 bcma_debug(bus, "Found rev %u PMU (capabilities 0x%08X)\n", cc->pmu.rev,
297 if (cc->pmu.rev == 1)
344 bcma_warn(bus, "No ALP clock specified for %04X device, pmu rev. %d, using default %d Hz\n",
345 bus->chipinfo.id, cc->pmu
[all...]
/linux-master/arch/alpha/kernel/
H A Dperf_event.c430 * - this function is called from outside this module via the pmu struct
449 perf_pmu_disable(event->pmu);
474 perf_pmu_enable(event->pmu);
482 * - this function is called from outside this module via the pmu struct
492 perf_pmu_disable(event->pmu);
520 perf_pmu_enable(event->pmu);
716 static void alpha_pmu_enable(struct pmu *pmu) argument
742 static void alpha_pmu_disable(struct pmu *pmu) argument
755 static struct pmu pmu = { variable in typeref:struct:pmu
[all...]
/linux-master/arch/x86/events/intel/
H A Duncore_snb.c274 if (box->pmu->pmu_idx == 0) {
288 if (box->pmu->pmu_idx == 0)
373 if (box->pmu->pmu_idx == 0) {
379 if (box->pmu->pmu_idx == 7)
391 if (box->pmu->pmu_idx == 0)
526 if (box->pmu->pmu_idx == 0)
542 if (box->pmu->pmu_idx == 0)
553 if (box->pmu->pmu_idx == 0)
559 if (box->pmu->pmu_idx == 0)
832 struct intel_uncore_type *type = box->pmu
873 struct intel_uncore_pmu *pmu; local
1488 struct intel_uncore_pmu *pmu = box->pmu; local
[all...]
/linux-master/arch/powerpc/perf/
H A Dcore-book3s.c427 perf_sched_cb_inc(event->pmu);
439 perf_sched_cb_dec(event->pmu);
1305 static void power_pmu_disable(struct pmu *pmu) argument
1417 static void power_pmu_enable(struct pmu *pmu) argument
1600 if (group->pmu->task_ctx_nr == perf_hw_context) {
1608 if (event->pmu->task_ctx_nr == perf_hw_context &&
1634 perf_pmu_disable(event->pmu);
1694 perf_pmu_enable(event->pmu);
1821 power_pmu_start_txn(struct pmu *pmu, unsigned int txn_flags) argument
1840 power_pmu_cancel_txn(struct pmu *pmu) argument
1860 power_pmu_commit_txn(struct pmu *pmu) argument
2532 register_power_pmu(struct power_pmu *pmu) argument
[all...]
/linux-master/drivers/macintosh/
H A Dvia-pmu-event.c2 * via-pmu event device for reporting some events that come through the PMU
25 #include <linux/pmu.h>
26 #include "via-pmu-event.h"
/linux-master/drivers/media/cec/platform/s5p/
H A Ds5p_cec.h66 struct regmap *pmu; member in struct:s5p_cec_dev

Completed in 389 milliseconds

1234567891011>>