/linux-master/drivers/perf/ |
H A D | qcom_l3_pmu.c | 155 struct pmu pmu; member in struct:l3cache_pmu 163 #define to_l3cache_pmu(p) (container_of(p, struct l3cache_pmu, pmu)) 195 struct l3cache_pmu *l3pmu = to_l3cache_pmu(event->pmu); 227 struct l3cache_pmu *l3pmu = to_l3cache_pmu(event->pmu); 241 struct l3cache_pmu *l3pmu = to_l3cache_pmu(event->pmu); 276 struct l3cache_pmu *l3pmu = to_l3cache_pmu(event->pmu); 302 struct l3cache_pmu *l3pmu = to_l3cache_pmu(event->pmu); 318 struct l3cache_pmu *l3pmu = to_l3cache_pmu(event->pmu); 423 * Implementation of abstract pmu functionalit 427 qcom_l3_cache__pmu_enable(struct pmu *pmu) argument 437 qcom_l3_cache__pmu_disable(struct pmu *pmu) argument [all...] |
H A D | thunderx2_pmu.c | 93 struct pmu pmu; member in struct:tx2_uncore_pmu 119 static inline struct tx2_uncore_pmu *pmu_to_tx2_pmu(struct pmu *pmu) argument 121 return container_of(pmu, struct tx2_uncore_pmu, pmu); 328 tx2_pmu = pmu_to_tx2_pmu(event->pmu); 344 tx2_pmu = pmu_to_tx2_pmu(event->pmu); 373 tx2_pmu = pmu_to_tx2_pmu(event->pmu); 395 tx2_pmu = pmu_to_tx2_pmu(event->pmu); 522 tx2_uncore_validate_event(struct pmu *pmu, struct perf_event *event, int *counters) argument [all...] |
/linux-master/drivers/perf/hisilicon/ |
H A D | hisi_uncore_pmu.h | 28 #define to_hisi_pmu(p) (container_of(p, struct hisi_pmu, pmu)) 84 /* Generic pmu struct for different pmu types */ 86 struct pmu pmu; member in struct:hisi_pmu 121 void hisi_uncore_pmu_enable(struct pmu *pmu); 122 void hisi_uncore_pmu_disable(struct pmu *pmu);
|
/linux-master/drivers/iommu/intel/ |
H A D | perfmon.c | 68 return container_of(dev_get_drvdata(dev), struct iommu_pmu, pmu); 247 return container_of(event->pmu, struct iommu_pmu, pmu); 262 return event->pmu == &iommu_pmu->pmu; 302 if (event->attr.type != event->pmu->type) 492 static void iommu_pmu_enable(struct pmu *pmu) argument 494 struct iommu_pmu *iommu_pmu = container_of(pmu, struct iommu_pmu, pmu); 500 iommu_pmu_disable(struct pmu *pmu) argument [all...] |
/linux-master/arch/sh/kernel/ |
H A D | perf_event.c | 251 perf_pmu_disable(event->pmu); 271 perf_pmu_enable(event->pmu); 307 static void sh_pmu_enable(struct pmu *pmu) argument 315 static void sh_pmu_disable(struct pmu *pmu) argument 323 static struct pmu pmu = { variable in typeref:struct:pmu 355 pmu.capabilities |= PERF_PMU_CAP_NO_INTERRUPT; 359 perf_pmu_register(&pmu, "cp [all...] |
/linux-master/tools/perf/util/ |
H A D | parse-events.c | 22 #include "pmu.h" 184 * fix_raw - For each raw term see if there is an event (aka alias) in pmu that 192 * @pmu: the PMU to scan for events from. 194 static void fix_raw(struct parse_events_terms *config_terms, struct perf_pmu *pmu) argument 204 if (perf_pmu__have_event(pmu, term->val.str)) { 231 const char *name, const char *metric_id, struct perf_pmu *pmu, 236 struct perf_cpu_map *cpus = pmu ? perf_cpu_map__get(pmu->cpus) : 239 if (pmu) 240 perf_pmu__warn_invalid_formats(pmu); 228 __add_event(struct list_head *list, int *idx, struct perf_event_attr *attr, bool init_attr, const char *name, const char *metric_id, struct perf_pmu *pmu, struct list_head *config_terms, bool auto_merge_stats, const char *cpu_list) argument 285 parse_events__add_event(int idx, struct perf_event_attr *attr, const char *name, const char *metric_id, struct perf_pmu *pmu) argument 437 parse_events__filter_pmu(const struct parse_events_state *parse_state, const struct perf_pmu *pmu) argument 455 struct perf_pmu *pmu = NULL; local 1008 struct perf_pmu *pmu = perf_pmus__find_by_type(attr->type); local 1034 struct perf_pmu *pmu = perf_pmus__find_by_type(attr->type); local 1245 get_config_chgs(struct perf_pmu *pmu, struct parse_events_terms *head_config, struct list_head *head_terms) argument 1333 __parse_events_add_numeric(struct parse_events_state *parse_state, struct list_head *list, struct perf_pmu *pmu, u32 type, u32 extended_type, u64 config, const struct parse_events_terms *head_config) argument 1375 struct perf_pmu *pmu = NULL; local 1419 parse_events_add_pmu(struct parse_events_state *parse_state, struct list_head *list, struct perf_pmu *pmu, const struct parse_events_terms *const_parsed_terms, bool auto_merge_stats) argument 1558 struct perf_pmu *pmu = NULL; local 1646 struct perf_pmu *pmu; local 1904 struct perf_pmu *pmu = evsel__find_pmu(evsel); local 2414 struct perf_pmu *pmu = NULL; local [all...] |
H A D | s390-sample-raw.c | 30 #include "util/pmu.h" 165 static char *get_counter_name(int set, int nr, struct perf_pmu *pmu) argument 172 if (!pmu) 175 perf_pmu__for_each_event(pmu, /*skip_duplicate_pmus=*/ true, 180 static void s390_cpumcfdg_dump(struct perf_pmu *pmu, struct perf_sample *sample) argument 205 char *ev_name = get_counter_name(ce.set, i, pmu); 262 pai_data.event_nr, evsel->pmu); 305 if (!evsel->pmu) 306 evsel->pmu = perf_pmus__find("cpum_cf"); 310 s390_cpumcfdg_dump(evsel->pmu, sampl [all...] |
/linux-master/kernel/events/ |
H A D | core.c | 695 perf_pmu_disable(pmu_ctx->pmu); 706 perf_pmu_enable(pmu_ctx->pmu); 1104 struct pmu *pmu = cpc->epc.pmu; local 1111 interval = pmu->hrtimer_interval_ms; 1113 interval = pmu->hrtimer_interval_ms = PERF_CPU_HRTIMER; 1143 void perf_pmu_disable(struct pmu *pmu) argument 1145 int *count = this_cpu_ptr(pmu 1150 perf_pmu_enable(struct pmu *pmu) argument 1157 perf_assert_pmu_disabled(struct pmu *pmu) argument 1167 alloc_task_ctx_data(struct pmu *pmu) argument 1175 free_task_ctx_data(struct pmu *pmu, void *task_ctx_data) argument 1643 struct pmu *pmu; member in struct:__group_key 1723 perf_event_groups_first(struct perf_event_groups *groups, int cpu, struct pmu *pmu, struct cgroup *cgrp) argument 1741 perf_event_groups_next(struct perf_event *event, struct pmu *pmu) argument 2580 struct pmu *pmu = group_event->pmu_ctx->pmu; local 2746 perf_pmu_resched(struct pmu *pmu) argument 3246 struct pmu *pmu = pmu_ctx->pmu; local 3590 perf_sched_cb_dec(struct pmu *pmu) argument 3602 perf_sched_cb_inc(struct pmu *pmu) argument 3624 struct pmu *pmu; local 3732 visit_groups_merge(struct perf_event_context *ctx, struct perf_event_groups *groups, int cpu, struct pmu *pmu, int (*func)(struct perf_event *, void *), void *data) argument 3868 pmu_groups_sched_in(struct perf_event_context *ctx, struct perf_event_groups *groups, struct pmu *pmu) argument 3890 __pmu_ctx_sched_in(struct perf_event_context *ctx, struct pmu *pmu) argument 4289 struct pmu *pmu; local 4504 struct pmu *pmu = event->pmu; local 4746 __perf_init_event_pmu_context(struct perf_event_pmu_context *epc, struct pmu *pmu) argument 4868 find_get_pmu_context(struct pmu *pmu, struct perf_event_context *ctx, struct perf_event *event) argument 5134 struct pmu *pmu = event->pmu; local 5165 struct pmu *pmu = event->pmu; local 5191 struct pmu *pmu = event->pmu; local 10301 struct pmu *pmu = &perf_tracepoint; local 11307 perf_pmu_nop_void(struct pmu *pmu) argument 11311 perf_pmu_nop_txn(struct pmu *pmu, unsigned int flags) argument 11315 perf_pmu_nop_int(struct pmu *pmu) argument 11327 perf_pmu_start_txn(struct pmu *pmu, unsigned int flags) argument 11337 perf_pmu_commit_txn(struct pmu *pmu) argument 11350 perf_pmu_cancel_txn(struct pmu *pmu) argument 11367 free_pmu_context(struct pmu *pmu) argument 11379 struct pmu *pmu = dev_get_drvdata(dev); local 11390 struct pmu *pmu = dev_get_drvdata(dev); local 11401 struct pmu *pmu = dev_get_drvdata(dev); local 11413 struct pmu *pmu = dev_get_drvdata(dev); local 11456 struct pmu *pmu = dev_get_drvdata(dev); local 11485 pmu_dev_alloc(struct pmu *pmu) argument 11529 perf_pmu_register(struct pmu *pmu, const char *name, int type) argument 11629 perf_pmu_unregister(struct pmu *pmu) argument 11660 perf_try_init_event(struct pmu *pmu, struct perf_event *event) argument 11713 struct pmu *pmu; local 11908 struct pmu *pmu; local 12443 struct pmu *pmu; local 12843 struct pmu *pmu; local 12930 __perf_pmu_remove(struct perf_event_context *ctx, int cpu, struct pmu *pmu, struct perf_event_groups *groups, struct list_head *events) argument 12950 __perf_pmu_install_event(struct pmu *pmu, struct perf_event_context *ctx, int cpu, struct perf_event *event) argument 12973 __perf_pmu_install(struct perf_event_context *ctx, int cpu, struct pmu *pmu, struct list_head *events) argument 13004 perf_pmu_migrate_context(struct pmu *pmu, int src_cpu, int dst_cpu) argument 13808 struct pmu *pmu; local [all...] |
/linux-master/arch/arm64/kvm/ |
H A D | pmu-emul.c | 31 return container_of(pmc, struct kvm_vcpu, arch.pmu.pmc[pmc->idx]); 36 return &vcpu->arch.pmu.pmc[cnt_idx]; 228 * kvm_pmu_vcpu_init - assign pmu counter idx for cpu 235 struct kvm_pmu *pmu = &vcpu->arch.pmu; local 238 pmu->pmc[i].idx = i; 242 * kvm_pmu_vcpu_reset - reset pmu state for cpu 266 irq_work_sync(&vcpu->arch.pmu.overflow_work); 355 struct kvm_pmu *pmu = &vcpu->arch.pmu; local 376 struct kvm_pmu *pmu = &vcpu->arch.pmu; local 694 kvm_host_pmu_init(struct arm_pmu *pmu) argument 723 struct arm_pmu *tmp, *pmu = NULL; local [all...] |
/linux-master/drivers/phy/allwinner/ |
H A D | phy-sun9i-usb.c | 37 void __iomem *pmu; member in struct:sun9i_usb_phy 56 reg_value = readl(phy->pmu); 63 writel(reg_value, phy->pmu); 158 phy->pmu = devm_platform_ioremap_resource(pdev, 0); 159 if (IS_ERR(phy->pmu)) 160 return PTR_ERR(phy->pmu);
|
/linux-master/arch/arm/mach-imx/ |
H A D | mmdc.c | 60 #define to_mmdc_pmu(p) container_of(p, struct mmdc_pmu, pmu) 98 struct pmu pmu; member in struct:mmdc_pmu 229 perf_pmu_migrate_context(&pmu_mmdc->pmu, cpu, target); 236 struct pmu *pmu, 244 if (event->pmu != pmu) 258 struct pmu *pmu local 235 mmdc_pmu_group_event_is_valid(struct perf_event *event, struct pmu *pmu, unsigned long *used_counters) argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
H A D | priv.h | 5 #include <subdev/pmu.h> 6 #include <subdev/pmu/fuc/os.h> 44 void gp102_pmu_reset(struct nvkm_pmu *pmu);
|
H A D | gm200.c | 68 gm200_pmu_nofw(struct nvkm_pmu *pmu, int ver, const struct nvkm_pmu_fwif *fwif) argument 70 nvkm_warn(&pmu->subdev, "firmware unavailable\n");
|
/linux-master/include/linux/perf/ |
H A D | riscv_pmu.h | 24 #define RISCV_PMU_SBI_PDEV_NAME "riscv-pmu-sbi" 25 #define RISCV_PMU_LEGACY_PDEV_NAME "riscv-pmu-legacy" 53 struct pmu pmu; member in struct:riscv_pmu 76 #define to_riscv_pmu(p) (container_of(p, struct riscv_pmu, pmu))
|
/linux-master/arch/arm/mm/ |
H A D | cache-l2x0-pmu.c | 21 static struct pmu *l2x0_pmu; 93 static void l2x0_pmu_enable(struct pmu *pmu) argument 101 static void l2x0_pmu_disable(struct pmu *pmu) argument 274 struct pmu *pmu = event->pmu; local 279 if (leader->pmu == pmu) 354 struct pmu *pmu = dev_get_drvdata(dev); local [all...] |
/linux-master/tools/testing/selftests/powerpc/security/ |
H A D | Makefile | 16 $(OUTPUT)/spectre_v2: ../pmu/event.c branch_loops.S
|
/linux-master/drivers/fpga/ |
H A D | dfl-fme-perf.c | 138 * @pmu: pmu data structure for fme perf counters. 150 struct pmu pmu; member in struct:fme_perf_priv 176 #define to_fme_perf_priv(_pmu) container_of(_pmu, struct fme_perf_priv, pmu) 181 struct pmu *pmu = dev_get_drvdata(dev); local 184 priv = to_fme_perf_priv(pmu); 236 * it with detected events (using pmu->attr_update). 609 struct pmu *pm local 675 struct pmu *pmu = dev_get_drvdata(kobj_to_dev(kobj)); local 907 struct pmu *pmu = &priv->pmu; local [all...] |
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_pmu.c | 46 /* record to keep track of pmu entry per pmu type per device */ 50 struct pmu pmu; member in struct:amdgpu_pmu_entry 214 if (event->attr.type != event->pmu->type) 228 struct amdgpu_pmu_entry *pe = container_of(event->pmu, 230 pmu); 270 struct amdgpu_pmu_entry *pe = container_of(event->pmu, 272 pmu); 300 struct amdgpu_pmu_entry *pe = container_of(event->pmu, [all...] |
/linux-master/arch/x86/events/ |
H A D | core.c | 48 static struct pmu pmu; variable in typeref:struct:pmu 52 .pmu = &pmu, 160 struct extra_reg *extra_regs = hybrid(event->pmu, extra_regs); 251 bool check_hw_exists(struct pmu *pmu, int num_counters, int num_counters_fixed) argument 282 if (fixed_counter_disabled(i, pmu)) 383 val = hybrid_var(event->pmu, hw_cache_event_ids)[cache_type][cache_op][cache_result]; 391 attr->config1 = hybrid_var(event->pmu, hw_cache_extra_reg 717 x86_pmu_disable(struct pmu *pmu) argument 1283 x86_pmu_enable(struct pmu *pmu) argument 1871 struct x86_hybrid_pmu *pmu; local 2217 x86_pmu_start_txn(struct pmu *pmu, unsigned int txn_flags) argument 2238 x86_pmu_cancel_txn(struct pmu *pmu) argument 2268 x86_pmu_commit_txn(struct pmu *pmu) argument 2392 struct pmu *pmu = NULL; local 2435 struct x86_hybrid_pmu *pmu = NULL; local 2667 x86_pmu_filter(struct pmu *pmu, int cpu) argument 2676 static struct pmu pmu = { variable in typeref:struct:pmu [all...] |
/linux-master/arch/x86/events/intel/ |
H A D | pt.h | 44 struct pmu pmu; member in struct:pt_pmu
|
/linux-master/drivers/macintosh/ |
H A D | Makefile | 15 obj-$(CONFIG_ADB_PMU) += via-pmu.o 16 obj-$(CONFIG_ADB_PMU_EVENT) += via-pmu-event.o 17 obj-$(CONFIG_ADB_PMU_LED) += via-pmu-led.o 18 obj-$(CONFIG_PMAC_BACKLIGHT) += via-pmu-backlight.o
|
/linux-master/arch/x86/include/asm/ |
H A D | hw_breakpoint.h | 51 struct pmu; 75 extern struct pmu perf_ops_bp;
|
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | opal-imc.c | 18 #include <asm/imc-pmu.h> 134 * imc_pmu_create : Takes the parent device which is the pmu unit, pmu_index 148 /* memory for pmu */ 165 /* Function to register IMC pmu */ 168 pr_err("IMC PMU %s Register failed\n", pmu_ptr->pmu.name); 169 kfree(pmu_ptr->pmu.name); 237 struct imc_pmu *pmu; local 253 pmu = NULL; 278 pmu = imc_pmu_create(imc_dev, pmu_count, domain); 279 if (pmu ! [all...] |
/linux-master/arch/powerpc/include/asm/ |
H A D | imc-pmu.h | 28 * perf/imc-pmu.c has the LDBAR layout information. 50 * Place holder for nest pmu events and values. 109 * Device tree parser code detects IMC pmu support and 111 * pmu functions, events, counter memory information 112 * and attrs for each imc pmu and will be referenced at 113 * the time of pmu registration. 116 struct pmu pmu; member in struct:imc_pmu
|
/linux-master/arch/sh/include/asm/ |
H A D | hw_breakpoint.h | 46 struct pmu; 70 extern struct pmu perf_ops_bp;
|