Searched refs:pmu (Results 251 - 275 of 337) sorted by path

<<11121314

/linux-master/include/linux/bcma/
H A Dbcma_driver_chipcommon.h632 struct bcma_chipcommon_pmu pmu; member in struct:bcma_drv_cc
678 bcma_read32((cc)->pmu.core, offset)
680 bcma_write32((cc)->pmu.core, offset, val)
/linux-master/include/linux/
H A Dnd.h42 * @pmu: pmu data structure for nvdimm performance stats.
50 struct pmu pmu; member in struct:nvdimm_pmu
H A Dperf_event.h227 * local64_cmpxchg() such that pmu::read() can be called nested.
277 * Common implementation detail of pmu::{start,commit,cancel}_txn
283 * pmu::capabilities flags
300 * struct pmu - generic performance monitoring unit
302 struct pmu { struct
314 * various common per-pmu feature flags
331 void (*pmu_enable) (struct pmu *pmu); /* optional */
332 void (*pmu_disable) (struct pmu *pmu); /* optiona
714 struct pmu *pmu; member in struct:perf_event
870 struct pmu *pmu; member in struct:perf_event_pmu_context
1401 is_exclusive_pmu(struct pmu *pmu) argument
[all...]
H A Dpmu.h13 #include <uapi/linux/pmu.h>
/linux-master/include/linux/perf/
H A Darm_pmu.h3 * linux/arch/arm/include/asm/pmu.h
80 struct pmu pmu; member in struct:arm_pmu
84 irqreturn_t (*handle_irq)(struct arm_pmu *pmu);
118 #define to_arm_pmu(p) (container_of(p, struct arm_pmu, pmu))
165 void kvm_host_pmu_init(struct arm_pmu *pmu);
174 void armpmu_free(struct arm_pmu *pmu);
175 int armpmu_register(struct arm_pmu *pmu);
179 #define ARMV8_PMU_PDEV_NAME "armv8-pmu"
H A Driscv_pmu.h24 #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/include/xen/interface/
H A Dxenpmu.h69 * by both the hypervisor and the guest (see arch-$arch/pmu.h).
92 struct xen_pmu_arch pmu; member in struct:xen_pmu_data
/linux-master/kernel/events/
H A Dcore.c695 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...]
H A Dhw_breakpoint.c995 static struct pmu perf_breakpoint = {
H A Dring_buffer.c362 * the exception of (B), which should be taken care of by the pmu
365 * Call this from pmu::start(); see the comment in perf_aux_output_end()
366 * about its use in pmu callbacks. Both can also be called from the PMI
381 * Since this will typically be open across pmu::add/pmu::del, we
427 * (B) <-> (C) ordering is still observed by the pmu driver.
478 * pmu driver's responsibility to observe ordering rules of the hardware,
481 * Note: this has to be called from pmu::stop() callback, as the assumption
482 * of the AUX buffer management code is that after pmu::stop(), the AUX
718 rb->free_aux = event->pmu
[all...]
/linux-master/sound/ppc/
H A Dpmac.h21 #include <linux/pmu.h>
/linux-master/sound/soc/codecs/
H A Dcs42l43.c1467 static int cs42l43_dapm_wait_completion(struct completion *pmu, struct completion *pmd, argument
1474 reinit_completion(pmu);
1480 time_left = wait_for_completion_timeout(pmu, msecs_to_jiffies(timeout_ms));
/linux-master/tools/perf/
H A DMakefile.perf700 PMU_EVENTS_IN := $(OUTPUT)pmu-events/pmu-events-in.o
709 $(Q)$(MAKE) -f $(srctree)/tools/build/Makefile.build dir=pmu-events obj=pmu-events
745 pmu-events/%.o: $(OUTPUT)pmu-events/%.o
1188 $(OUTPUT)pmu-events/pmu-events.c \
1189 $(OUTPUT)pmu-events/metric_test.log \
/linux-master/tools/perf/arch/arm/util/
H A Dauxtrace.c9 #include <linux/coresight-pmu.h>
16 #include "../../../util/pmu.h"
H A Dcs-etm.c11 #include <linux/coresight-pmu.h>
257 static int cs_etm_set_sink_attr(struct perf_pmu *pmu, argument
275 ret = perf_pmu__scan_file(pmu, path, "%x", &hash);
604 static int cs_etm_get_ro(struct perf_pmu *pmu, int cpu, const char *path) argument
613 scan = perf_pmu__scan_file(pmu, pmu_path, "%x", &val);
620 static int cs_etm_get_ro_signed(struct perf_pmu *pmu, int cpu, const char *path) argument
629 scan = perf_pmu__scan_file(pmu, pmu_path, "%d", &val);
636 static bool cs_etm_pmu_path_exists(struct perf_pmu *pmu, int cpu, const char *path) argument
643 return perf_pmu__file_exists(pmu, pmu_path);
699 pr_debug3("[%03d] pmu fil
[all...]
H A Dpmu.c8 #include <linux/coresight-pmu.h>
14 #include "../../../util/pmu.h"
18 void perf_pmu__arch_init(struct perf_pmu *pmu __maybe_unused)
21 if (!strcmp(pmu->name, CORESIGHT_ETM_PMU_NAME)) {
23 pmu->selectable = true;
24 pmu->perf_event_attr_init_default = cs_etm_get_default_config;
26 } else if (strstarts(pmu->name, ARM_SPE_PMU_NAME)) {
27 pmu->selectable = true;
28 pmu->is_uncore = false;
29 pmu
[all...]
/linux-master/tools/perf/arch/arm64/util/
H A Darm-spe.c21 #include "../../../util/pmu.h"
500 sper->itr.pmu = arm_spe_pmu;
H A Dheader.c73 char *get_cpuid_str(struct perf_pmu *pmu) argument
78 if (!pmu || !pmu->cpus)
85 /* read midr from list of cpus mapped to this pmu */
86 res = _get_cpuid(buf, MIDR_SIZE, pmu->cpus);
88 pr_err("failed to get cpuid string for PMU %s\n", pmu->name);
H A Dhisi-ptt.c22 #include "../../../util/pmu.h"
177 pttr->itr.pmu = hisi_ptt_pmu;
H A Dpmu.c6 #include "../../../util/pmu.h"
13 struct perf_pmu *pmu; local
20 pmu = perf_pmus__find_core_pmu();
21 if (pmu)
22 return perf_pmu__find_metrics_table(pmu);
31 struct perf_pmu *pmu = perf_pmus__find_core_pmu(); local
33 if (pmu) {
35 pmu->name, "caps/slots");
/linux-master/tools/perf/arch/powerpc/util/
H A Dheader.c33 get_cpuid_str(struct perf_pmu *pmu __maybe_unused)
H A Dpmu.c5 #include "../../../util/pmu.h"
8 void perf_pmu__arch_init(struct perf_pmu *pmu) argument
10 if (pmu->is_core)
11 pmu->mem_events = perf_mem_events_power;
/linux-master/tools/perf/arch/riscv/util/
H A Dheader.c101 get_cpuid_str(struct perf_pmu *pmu __maybe_unused)
/linux-master/tools/perf/arch/s390/util/
H A Dheader.c140 char *get_cpuid_str(struct perf_pmu *pmu __maybe_unused)
H A Dpmu.c10 #include "../../../util/pmu.h"
16 void perf_pmu__arch_init(struct perf_pmu *pmu) argument
18 if (!strcmp(pmu->name, S390_PMUPAI_CRYPTO) ||
19 !strcmp(pmu->name, S390_PMUPAI_EXT) ||
20 !strcmp(pmu->name, S390_PMUCPUM_CF))
21 pmu->selectable = true;

Completed in 305 milliseconds

<<11121314