Searched refs:perf_event (Results 201 - 225 of 487) sorted by path

1234567891011>>

/linux-master/arch/x86/power/
H A Dcpu.c13 #include <linux/perf_event.h>
/linux-master/arch/xtensa/include/asm/
H A Dhw_breakpoint.h34 struct perf_event;
40 int hw_breakpoint_arch_parse(struct perf_event *bp,
46 int arch_install_hw_breakpoint(struct perf_event *bp);
47 void arch_uninstall_hw_breakpoint(struct perf_event *bp);
48 void hw_breakpoint_pmu_read(struct perf_event *bp);
H A Dprocessor.h160 struct perf_event *ptrace_bp[XCHAL_NUM_IBREAK];
161 struct perf_event *ptrace_wp[XCHAL_NUM_DBREAK];
/linux-master/arch/xtensa/kernel/
H A DMakefile18 obj-$(CONFIG_XTENSA_VARIANT_HAVE_PERF_EVENTS) += perf_event.o
H A Dhw_breakpoint.c14 #include <linux/perf_event.h>
19 static DEFINE_PER_CPU(struct perf_event *, bp_on_reg[XCHAL_NUM_IBREAK]);
22 static DEFINE_PER_CPU(struct perf_event *, wp_on_reg[XCHAL_NUM_DBREAK]);
49 * Construct an arch_hw_breakpoint from a perf_event.
51 int hw_breakpoint_arch_parse(struct perf_event *bp,
134 static int alloc_slot(struct perf_event **slot, size_t n,
135 struct perf_event *bp)
148 static void set_ibreak_regs(int reg, struct perf_event *bp)
158 static void set_dbreak_regs(int reg, struct perf_event *bp)
172 int arch_install_hw_breakpoint(struct perf_event *b
[all...]
H A Dperf_event.c13 #include <linux/perf_event.h>
61 struct perf_event *event[XCHAL_NUM_PERF_COUNTERS];
145 static void xtensa_perf_event_update(struct perf_event *event,
163 static bool xtensa_perf_event_set_period(struct perf_event *event,
207 static int xtensa_pmu_event_init(struct perf_event *event)
249 static void xtensa_pmu_start(struct perf_event *event, int flags)
267 static void xtensa_pmu_stop(struct perf_event *event, int flags)
290 static int xtensa_pmu_add(struct perf_event *event, int flags)
316 static void xtensa_pmu_del(struct perf_event *event, int flags)
325 static void xtensa_pmu_read(struct perf_event *even
[all...]
H A Dptrace.c20 #include <linux/perf_event.h>
364 static void ptrace_hbptriggered(struct perf_event *bp,
386 static struct perf_event *ptrace_hbp_create(struct task_struct *tsk, int type)
417 struct perf_event *bp;
451 struct perf_event *bp;
/linux-master/arch/xtensa/mm/
H A Dfault.c18 #include <linux/perf_event.h>
/linux-master/drivers/acpi/
H A Dacpi_pad.c20 #include <linux/perf_event.h>
H A Dprocessor_idle.c24 #include <linux/perf_event.h>
/linux-master/drivers/devfreq/event/
H A Drockchip-dfi.c24 #include <linux/perf_event.h>
402 static int rockchip_ddr_perf_event_init(struct perf_event *event)
420 static u64 rockchip_ddr_perf_event_get_count(struct perf_event *event)
481 static void rockchip_ddr_perf_event_update(struct perf_event *event)
494 static void rockchip_ddr_perf_event_start(struct perf_event *event, int flags)
501 static int rockchip_ddr_perf_event_add(struct perf_event *event, int flags)
519 static void rockchip_ddr_perf_event_stop(struct perf_event *event, int flags)
524 static void rockchip_ddr_perf_event_del(struct perf_event *event, int flags)
/linux-master/drivers/dma/idxd/
H A Didxd.h14 #include <linux/perf_event.h>
120 struct perf_event *event_list[IDXD_PMU_EVENT_MAX];
H A Dperfmon.c80 static bool is_idxd_event(struct idxd_pmu *idxd_pmu, struct perf_event *event)
86 struct perf_event *leader,
89 struct perf_event *event;
124 struct perf_event *event, int idx)
135 struct perf_event *event)
155 struct perf_event *event)
157 struct perf_event *leader = event->group_leader;
198 static int perfmon_pmu_event_init(struct perf_event *event)
230 static inline u64 perfmon_pmu_read_counter(struct perf_event *event)
241 static void perfmon_pmu_event_update(struct perf_event *even
[all...]
H A Dperfmon.h16 #include <linux/perf_event.h>
19 static inline struct idxd_pmu *event_to_pmu(struct perf_event *event)
30 static inline struct idxd_device *event_to_idxd(struct perf_event *event)
/linux-master/drivers/fpga/
H A Ddfl-fme-perf.c19 #include <linux/perf_event.h>
786 static void fme_perf_event_destroy(struct perf_event *event)
795 static int fme_perf_event_init(struct perf_event *event)
842 static void fme_perf_event_update(struct perf_event *event)
856 static void fme_perf_event_start(struct perf_event *event, int flags)
867 static void fme_perf_event_stop(struct perf_event *event, int flags)
872 static int fme_perf_event_add(struct perf_event *event, int flags)
880 static void fme_perf_event_del(struct perf_event *event, int flags)
885 static void fme_perf_event_read(struct perf_event *event)
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_pmu.c24 #include <linux/perf_event.h>
209 static int amdgpu_perf_event_init(struct perf_event *event)
225 static void amdgpu_perf_start(struct perf_event *event, int flags)
267 static void amdgpu_perf_read(struct perf_event *event)
297 static void amdgpu_perf_stop(struct perf_event *event, int flags)
332 static int amdgpu_perf_add(struct perf_event *event, int flags)
383 static void amdgpu_perf_del(struct perf_event *event, int flags)
/linux-master/drivers/gpu/drm/i915/
H A Di915_pmu.c34 static struct i915_pmu *event_to_pmu(struct perf_event *event)
49 static u8 engine_event_sample(struct perf_event *event)
54 static u8 engine_event_class(struct perf_event *event)
59 static u8 engine_event_instance(struct perf_event *event)
130 static bool is_engine_event(struct perf_event *event)
135 static unsigned int event_bit(struct perf_event *event)
517 static void i915_pmu_event_destroy(struct perf_event *event)
584 static int engine_event_init(struct perf_event *event)
598 static int i915_pmu_event_init(struct perf_event *event)
639 static u64 __i915_pmu_event_read(struct perf_event *even
[all...]
H A Di915_pmu.h11 #include <linux/perf_event.h>
/linux-master/drivers/hwtracing/coresight/
H A Dcoresight-dummy.c24 struct perf_event *event, enum cs_mode mode)
32 struct perf_event *event)
H A Dcoresight-etb10.c27 #include <linux/perf_event.h>
376 struct perf_event *event, void **pages,
H A Dcoresight-etm-perf.c15 #include <linux/perf_event.h>
151 static void etm_event_read(struct perf_event *event) {}
153 static int etm_addr_filters_alloc(struct perf_event *event)
171 static void etm_event_destroy(struct perf_event *event)
177 static int etm_event_init(struct perf_event *event)
306 static void *etm_setup_aux(struct perf_event *event, void **pages,
447 static void etm_event_start(struct perf_event *event, int flags)
538 static void etm_event_stop(struct perf_event *event, int mode)
634 static int etm_event_add(struct perf_event *event, int mode)
650 static void etm_event_del(struct perf_event *even
[all...]
H A Dcoresight-etm3x-core.c30 #include <linux/perf_event.h>
308 struct perf_event *event)
484 struct perf_event *event)
555 static int etm_enable(struct coresight_device *csdev, struct perf_event *event,
670 struct perf_event *event)
H A Dcoresight-etm4x-core.c30 #include <linux/perf_event.h>
65 struct perf_event *event);
640 struct perf_event *event)
755 struct perf_event *event)
839 static int etm4_enable(struct coresight_device *csdev, struct perf_event *event,
932 struct perf_event *event)
1001 struct perf_event *event)
1541 struct perf_event *event)
H A Dcoresight-stm.c29 #include <linux/perf_event.h>
193 static int stm_enable(struct coresight_device *csdev, struct perf_event *event,
255 struct perf_event *event)
H A Dcoresight-tmc-etf.c10 #include <linux/perf_event.h>
418 struct perf_event *event, void **pages,

Completed in 427 milliseconds

1234567891011>>