Searched refs:perf_event (Results 151 - 175 of 487) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/powerpc/pmu/
H A Devent.h10 #include <linux/perf_event.h>
/linux-master/arch/riscv/kernel/
H A Dperf_callchain.c4 #include <linux/perf_event.h>
/linux-master/arch/powerpc/perf/
H A De6500-pmu.c12 #include <linux/perf_event.h>
/linux-master/arch/arm64/kernel/
H A Dperf_regs.c5 #include <linux/perf_event.h>
/linux-master/arch/csky/kernel/
H A DMakefile13 obj-$(CONFIG_CSKY_PMU_V1) += perf_event.o
/linux-master/arch/xtensa/kernel/
H A DMakefile18 obj-$(CONFIG_XTENSA_VARIANT_HAVE_PERF_EVENTS) += perf_event.o
/linux-master/arch/arm/kernel/
H A Dperf_callchain.c10 #include <linux/perf_event.h>
H A Dhw_breakpoint.c17 #include <linux/perf_event.h>
30 static DEFINE_PER_CPU(struct perf_event *, bp_on_reg[ARM_MAX_BRP]);
33 static DEFINE_PER_CPU(struct perf_event *, wp_on_reg[ARM_MAX_WRP]);
325 int arch_install_hw_breakpoint(struct perf_event *bp)
328 struct perf_event **slot, **slots;
382 void arch_uninstall_hw_breakpoint(struct perf_event *bp)
385 struct perf_event **slot, **slots;
510 * Construct an arch_hw_breakpoint from a perf_event.
512 static int arch_build_bp_info(struct perf_event *bp,
586 int hw_breakpoint_arch_parse(struct perf_event *b
[all...]
/linux-master/drivers/gpu/drm/i915/
H A Di915_pmu.h11 #include <linux/perf_event.h>
/linux-master/tools/perf/
H A Dbuiltin-evlist.c23 union perf_event *event __maybe_unused)
/linux-master/tools/perf/util/
H A Drecord.h9 #include <linux/perf_event.h>
H A Dbranch.h5 * in files included from uapi/linux/perf_event.h such as
10 #include <linux/perf_event.h>
H A Dmmap.h55 union perf_event *perf_mmap__read_forward(struct mmap *map);
/linux-master/tools/lib/perf/include/internal/
H A Devsel.h6 #include <linux/perf_event.h>
/linux-master/arch/arc/kernel/
H A DMakefile21 obj-$(CONFIG_PERF_EVENTS) += perf_event.o
/linux-master/arch/loongarch/kernel/
H A Dptrace.c387 static void ptrace_hbptriggered(struct perf_event *bp,
405 static struct perf_event *ptrace_hbp_get_event(unsigned int note_type,
409 struct perf_event *bp;
432 struct perf_event *bp)
452 static struct perf_event *ptrace_hbp_create(unsigned int note_type,
457 struct perf_event *bp;
544 static struct perf_event *ptrace_hbp_get_initialised_bp(unsigned int note_type,
548 struct perf_event *bp = ptrace_hbp_get_event(note_type, tsk, idx);
560 struct perf_event *bp = ptrace_hbp_get_event(note_type, tsk, idx);
574 struct perf_event *b
[all...]
/linux-master/tools/perf/tests/shell/
H A Dstat_bpf_counters_cgrp.sh34 find_cgroups_self_cgrp=$(grep perf_event /proc/self/cgroup | cut -d: -f3)
36 # cgroup v2 doesn't specify perf_event
/linux-master/arch/powerpc/include/asm/
H A Dimc-pmu.h13 #include <linux/perf_event.h>
/linux-master/arch/s390/kernel/
H A Dperf_regs.c2 #include <linux/perf_event.h>
/linux-master/drivers/perf/
H A Dalibaba_uncore_drw_pmu.c26 #include <linux/perf_event.h>
102 struct perf_event *events[ALI_DRW_PMU_COMMON_MAX_COUNTERS];
274 static int ali_drw_get_counter_idx(struct perf_event *event)
288 static u64 ali_drw_pmu_read_counter(struct perf_event *event)
305 static void ali_drw_pmu_event_update(struct perf_event *event)
324 static void ali_drw_pmu_event_set_period(struct perf_event *event)
342 static void ali_drw_pmu_enable_counter(struct perf_event *event)
360 static void ali_drw_pmu_disable_counter(struct perf_event *event)
387 struct perf_event *event;
533 static int ali_drw_pmu_event_init(struct perf_event *even
[all...]
H A Dfsl_imx8_ddr_perf.c14 #include <linux/perf_event.h>
118 struct perf_event *events[NUM_COUNTERS];
321 static bool ddr_perf_is_filtered(struct perf_event *event)
326 static u32 ddr_perf_filter_val(struct perf_event *event)
331 static bool ddr_perf_filters_compatible(struct perf_event *a,
332 struct perf_event *b)
341 static bool ddr_perf_is_enhanced_filtered(struct perf_event *event)
382 struct perf_event *event = pmu->events[counter];
395 static int ddr_perf_event_init(struct perf_event *event)
399 struct perf_event *siblin
[all...]
H A Dfsl_imx9_ddr_perf.c11 #include <linux/perf_event.h>
62 struct perf_event *events[NUM_COUNTERS];
399 static void ddr_perf_event_update(struct perf_event *event)
413 static int ddr_perf_event_init(struct perf_event *event)
417 struct perf_event *sibling;
451 static void ddr_perf_event_start(struct perf_event *event, int flags)
463 static int ddr_perf_event_add(struct perf_event *event, int flags)
488 static void ddr_perf_event_stop(struct perf_event *event, int flags)
500 static void ddr_perf_event_del(struct perf_event *event, int flags)
551 struct perf_event *even
[all...]
H A Dmarvell_cn10k_ddr_pmu.c11 #include <linux/perf_event.h>
130 struct perf_event *events[DDRC_PERF_NUM_COUNTERS];
290 struct perf_event *event)
323 static int cn10k_ddr_perf_event_init(struct perf_event *event)
406 static void cn10k_ddr_perf_event_update(struct perf_event *event)
422 static void cn10k_ddr_perf_event_start(struct perf_event *event, int flags)
435 static int cn10k_ddr_perf_event_add(struct perf_event *event, int flags)
481 static void cn10k_ddr_perf_event_stop(struct perf_event *event, int flags)
495 static void cn10k_ddr_perf_event_del(struct perf_event *event, int flags)
552 struct perf_event *even
[all...]
/linux-master/tools/lib/perf/
H A Dmmap.c8 #include <linux/perf_event.h>
210 static union perf_event *perf_mmap__read(struct perf_mmap *map,
214 union perf_event *event = NULL;
220 event = (union perf_event *)&data[*startp & map->mask];
251 event = (union perf_event *)map->event_copy;
272 union perf_event *perf_mmap__read_event(struct perf_mmap *map)
274 union perf_event *event;
/linux-master/kernel/events/
H A Dhw_breakpoint_test.c12 #include <linux/perf_event.h>
28 static struct perf_event *test_bps[MAX_TEST_BREAKPOINTS];
31 static struct perf_event *register_test_bp(int cpu, struct task_struct *tsk, int idx)
45 static void unregister_test_bp(struct perf_event **bp)
67 struct perf_event *bp = register_test_bp(cpu, tsk, *id);

Completed in 277 milliseconds

1234567891011>>