/linux-master/drivers/macintosh/ |
H A D | via-pmu-led.c | 2 * via-pmu LED class device 27 #include <linux/pmu.h> 75 .name = "pmu-led::front",
|
H A D | apm_emu.c | 12 #include <linux/pmu.h>
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_pmu.h | 69 struct pmu base;
|
/linux-master/tools/perf/arch/x86/util/ |
H A D | perf_regs.c | 13 #include "../../../util/pmu.h" 302 struct perf_pmu *pmu = NULL; local 309 while ((pmu = perf_pmus__scan_core(pmu)) != NULL) { 310 type = pmu->type;
|
/linux-master/drivers/perf/ |
H A D | arm_spe_pmu.c | 71 struct pmu pmu; member in struct:arm_spe_pmu 96 #define to_spe_pmu(p) (container_of(p, struct arm_spe_pmu, pmu)) 302 struct arm_spe_pmu *spe_pmu = to_spe_pmu(event->pmu); 384 struct arm_spe_pmu *spe_pmu = to_spe_pmu(handle->event->pmu); 412 struct arm_spe_pmu *spe_pmu = to_spe_pmu(handle->event->pmu); 483 struct arm_spe_pmu *spe_pmu = to_spe_pmu(handle->event->pmu); 700 struct arm_spe_pmu *spe_pmu = to_spe_pmu(event->pmu); 703 if (attr->type != event->pmu->type) 758 struct arm_spe_pmu *spe_pmu = to_spe_pmu(event->pmu); [all...] |
/linux-master/tools/testing/selftests/powerpc/mm/ |
H A D | Makefile | 30 $(OUTPUT)/stack_expansion_signal: ../utils.c ../pmu/lib.c
|
/linux-master/tools/perf/util/ |
H A D | cputopo.c | 15 #include "pmu.h" 438 struct perf_pmu *pmu) 444 node->pmu_name = strdup(pmu->name); 448 fp = perf_pmu__open_file(pmu, "cpus"); 473 struct perf_pmu *pmu = NULL; local 485 while ((pmu = perf_pmus__scan_core(pmu)) != NULL) { 486 if (load_hybrid_node(&tp->nodes[i], pmu)) { 437 load_hybrid_node(struct hybrid_topology_node *node, struct perf_pmu *pmu) argument
|
/linux-master/arch/x86/events/intel/ |
H A D | pt.c | 37 * attribute group of pt pmu device 1293 * This is a pmu::setup_aux callback that sets up ToPA tables and all the 1543 * interrupts to avoid racing with pmu callbacks; 1727 if (event->attr.type != pt_pmu.pmu.type) 1756 return event->pmu == &pt_pmu.pmu; 1795 pt_pmu.pmu.capabilities = PERF_PMU_CAP_AUX_NO_SG; 1797 pt_pmu.pmu.capabilities |= PERF_PMU_CAP_EXCLUSIVE | PERF_PMU_CAP_ITRACE; 1798 pt_pmu.pmu.attr_groups = pt_attr_groups; 1799 pt_pmu.pmu [all...] |
/linux-master/drivers/perf/hisilicon/ |
H A D | hisi_uncore_l3c_pmu.c | 65 struct hisi_pmu *l3c_pmu = to_hisi_pmu(event->pmu); 86 struct hisi_pmu *l3c_pmu = to_hisi_pmu(event->pmu); 107 struct hisi_pmu *l3c_pmu = to_hisi_pmu(event->pmu); 131 struct hisi_pmu *l3c_pmu = to_hisi_pmu(event->pmu); 149 struct hisi_pmu *l3c_pmu = to_hisi_pmu(event->pmu); 167 struct hisi_pmu *l3c_pmu = to_hisi_pmu(event->pmu); 188 struct hisi_pmu *l3c_pmu = to_hisi_pmu(event->pmu); 561 ret = perf_pmu_register(&l3c_pmu->pmu, name, -1); 575 perf_pmu_unregister(&l3c_pmu->pmu);
|
H A D | hisi_uncore_hha_pmu.c | 61 struct hisi_pmu *hha_pmu = to_hisi_pmu(event->pmu); 75 struct hisi_pmu *hha_pmu = to_hisi_pmu(event->pmu); 85 struct hisi_pmu *hha_pmu = to_hisi_pmu(event->pmu); 99 struct hisi_pmu *hha_pmu = to_hisi_pmu(event->pmu); 113 struct hisi_pmu *hha_pmu = to_hisi_pmu(event->pmu); 129 struct hisi_pmu *hha_pmu = to_hisi_pmu(event->pmu); 527 ret = perf_pmu_register(&hha_pmu->pmu, name, -1); 541 perf_pmu_unregister(&hha_pmu->pmu);
|
/linux-master/arch/loongarch/kernel/ |
H A D | perf_event.c | 391 perf_pmu_disable(event->pmu); 416 perf_pmu_enable(event->pmu); 446 static void loongarch_pmu_enable(struct pmu *pmu) argument 451 static void loongarch_pmu_disable(struct pmu *pmu) argument 574 static struct pmu pmu = { variable in typeref:struct:pmu 873 perf_pmu_register(&pmu, "cpu", PERF_TYPE_RAW);
|
/linux-master/tools/perf/pmu-events/ |
H A D | jevents.py | 336 self.pmu = unit_to_pmu(jd.get('Unit')) 447 metrics.append((event.pmu, event.metric_name, event.metric_expr)) 488 return (fix_none(j.pmu).replace(',','_'), fix_none(j.name), j.desc is not None, fix_none(j.topic), 507 if event.pmu != last_pmu: 510 pmu_name = event.pmu.replace(',', '_') 514 last_pmu = event.pmu 515 pmus.add((event.pmu, pmu_name)) 525 for (pmu, tbl_pmu) in sorted(pmus): 526 pmu_name = f"{pmu}\\000" 544 return (j.desc is not None, fix_none(j.pmu), fix_non [all...] |
/linux-master/arch/csky/kernel/ |
H A D | perf_event.c | 40 struct pmu pmu; member in struct:csky_pmu_t 49 #define to_csky_pmu(p) (container_of(p, struct csky_pmu, pmu)) 1010 static void csky_pmu_enable(struct pmu *pmu) argument 1016 static void csky_pmu_disable(struct pmu *pmu) argument 1121 csky_pmu_disable(&csky_pmu.pmu); 1146 csky_pmu_enable(&csky_pmu.pmu); 1177 err = request_percpu_irq(csky_pmu_irq, handler, "csky-pmu", [all...] |
/linux-master/drivers/phy/allwinner/ |
H A D | phy-sun4i-usb.c | 121 void __iomem *pmu; member in struct:sun4i_usb_phy_data::sun4i_usb_phy 235 if (!phy->pmu) 247 reg_value = readl(phy->pmu); 254 writel(reg_value, phy->pmu); 316 if (phy2->pmu && data->cfg->hci_phy_ctl_clear) { 317 val = readl(phy2->pmu + REG_HCI_PHY_CTL); 319 writel(val, phy2->pmu + REG_HCI_PHY_CTL); 325 if (phy->pmu && data->cfg->hci_phy_ctl_clear) { 326 val = readl(phy->pmu + REG_HCI_PHY_CTL); 328 writel(val, phy->pmu [all...] |
/linux-master/tools/perf/arch/arm/util/ |
H A D | cs-etm.c | 11 #include <linux/coresight-pmu.h> 72 static int cs_etm_get_ro(struct perf_pmu *pmu, struct perf_cpu cpu, const char *path, __u64 *val); 73 static bool cs_etm_pmu_path_exists(struct perf_pmu *pmu, struct perf_cpu cpu, const char *path); 262 static int cs_etm_set_sink_attr(struct perf_pmu *pmu, argument 280 ret = perf_pmu__scan_file(pmu, path, "%x", &hash); 574 static int cs_etm_get_ro(struct perf_pmu *pmu, struct perf_cpu cpu, const char *path, __u64 *val) argument 582 scan = perf_pmu__scan_file(pmu, pmu_path, "%llx", val); 591 static int cs_etm_get_ro_signed(struct perf_pmu *pmu, struct perf_cpu cpu, const char *path, argument 601 scan = perf_pmu__scan_file(pmu, pmu_path, "%d", &val); 611 static bool cs_etm_pmu_path_exists(struct perf_pmu *pmu, struc argument [all...] |
/linux-master/include/linux/ |
H A D | nd.h | 42 * @pmu: pmu data structure for nvdimm performance stats. 50 struct pmu pmu; member in struct:nvdimm_pmu
|
/linux-master/arch/arm/mach-exynos/ |
H A D | pm.c | 17 #include <linux/soc/samsung/exynos-regs-pmu.h> 18 #include <linux/soc/samsung/exynos-pmu.h>
|
/linux-master/include/kvm/ |
H A D | arm_pmu.h | 17 u8 idx; /* index into the pmu->pmc array */ 47 #define kvm_arm_pmu_irq_initialized(v) ((v)->arch.pmu.irq_num >= VGIC_NR_SGIS) 83 * Updates the vcpu's view of the pmu events for this cpu. 90 vcpu->arch.pmu.events = *kvm_get_pmu_events(); \
|
/linux-master/arch/riscv/kvm/ |
H A D | vcpu_pmu.c | 9 #define pr_fmt(fmt) "riscv-kvm-pmu: " fmt 20 #define kvm_pmu_num_counters(pmu) ((pmu)->num_hw_ctrs + (pmu)->num_fw_ctrs) 187 static int pmu_get_pmc_index(struct kvm_pmu *pmu, unsigned long eidx, argument 197 return kvm_pmu_get_programmable_pmc_index(pmu, eidx, cbase, cmask); 275 struct riscv_pmu *rpmu = to_riscv_pmu(perf_event->pmu); 285 rpmu->pmu.stop(perf_event, PERF_EF_UPDATE); 306 rpmu->pmu.start(perf_event, PERF_EF_RELOAD); 330 pr_err("kvm pmu even [all...] |
/linux-master/arch/x86/kvm/ |
H A D | Makefile | 9 i8254.o ioapic.o irq_comm.o cpuid.o pmu.o mtrr.o \ 24 kvm-amd-y += svm/svm.o svm/vmenter.o svm/pmu.o svm/nested.o svm/avic.o
|
/linux-master/arch/x86/xen/ |
H A D | Makefile | 27 obj-$(CONFIG_XEN_PV) += pmu.o
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
H A D | priv.h | 25 #include <subdev/pmu.h>
|
/linux-master/tools/perf/arch/riscv/util/ |
H A D | header.c | 101 get_cpuid_str(struct perf_pmu *pmu __maybe_unused)
|
/linux-master/tools/testing/selftests/powerpc/ |
H A D | Makefile | 18 pmu \
|
/linux-master/tools/testing/selftests/powerpc/tm/ |
H A D | Makefile | 24 $(OUTPUT)/tm-resched-dscr: ../pmu/lib.c
|