Searched refs:perf_event (Results 176 - 200 of 487) sorted by relevance

1234567891011>>

/linux-master/arch/x86/events/amd/
H A Duncore.c8 #include <linux/perf_event.h>
18 #include <asm/perf_event.h>
40 struct perf_event **events;
86 static struct amd_uncore_pmu *event_to_amd_uncore_pmu(struct perf_event *event)
91 static void amd_uncore_read(struct perf_event *event)
119 static void amd_uncore_start(struct perf_event *event, int flags)
131 static void amd_uncore_stop(struct perf_event *event, int flags)
144 static int amd_uncore_add(struct perf_event *event, int flags)
189 static void amd_uncore_del(struct perf_event *event, int flags)
206 static int amd_uncore_event_init(struct perf_event *even
[all...]
/linux-master/drivers/iommu/intel/
H A Dperfmon.c65 * The perf_event creates its own dev for each PMU.
245 static inline struct iommu_pmu *iommu_event_to_pmu(struct perf_event *event)
250 static inline u64 iommu_event_config(struct perf_event *event)
260 struct perf_event *event)
265 static int iommu_pmu_validate_event(struct perf_event *event)
276 static int iommu_pmu_validate_group(struct perf_event *event)
279 struct perf_event *sibling;
298 static int iommu_pmu_event_init(struct perf_event *event)
320 static void iommu_pmu_event_update(struct perf_event *event)
343 static void iommu_pmu_start(struct perf_event *even
[all...]
/linux-master/arch/x86/events/intel/
H A Dcore.c27 #include "../perf_event.h"
2253 struct perf_event *event =
2333 struct perf_event *event;
2438 static inline bool event_is_checkpointed(struct perf_event *event)
2443 static inline void intel_set_masks(struct perf_event *event, int idx)
2455 static inline void intel_clear_masks(struct perf_event *event, int idx)
2464 static void intel_pmu_disable_fixed(struct perf_event *event)
2489 static void intel_pmu_disable_event(struct perf_event *event)
2525 static void intel_pmu_assign_event(struct perf_event *event, int idx)
2531 static __always_inline bool intel_pmu_needs_branch_stack(struct perf_event *even
[all...]
H A Dcstate.c31 * with the perf_event core subsystem.
110 #include <linux/perf_event.h>
114 #include "../perf_event.h"
317 static int cstate_pmu_event_init(struct perf_event *event)
375 static inline u64 cstate_pmu_read_counter(struct perf_event *event)
383 static void cstate_pmu_event_update(struct perf_event *event)
397 static void cstate_pmu_event_start(struct perf_event *event, int mode)
402 static void cstate_pmu_event_stop(struct perf_event *event, int mode)
407 static void cstate_pmu_event_del(struct perf_event *event, int mode)
412 static int cstate_pmu_event_add(struct perf_event *even
[all...]
/linux-master/arch/arm/kernel/
H A Dperf_event_v7.c746 static inline u64 armv7pmu_read_counter(struct perf_event *event)
766 static inline void armv7pmu_write_counter(struct perf_event *event, u64 value)
871 static void armv7pmu_enable_event(struct perf_event *event)
912 static void armv7pmu_disable_event(struct perf_event *event)
964 struct perf_event *event = cpuc->events[idx];
1013 struct perf_event *event)
1042 struct perf_event *event)
1096 static int armv7_a8_map_event(struct perf_event *event)
1102 static int armv7_a9_map_event(struct perf_event *event)
1108 static int armv7_a5_map_event(struct perf_event *even
[all...]
/linux-master/drivers/perf/arm_cspmu/
H A Darm_cspmu.c31 #include <linux/perf_event.h>
253 static u32 arm_cspmu_event_type(const struct perf_event *event)
258 static bool arm_cspmu_is_cycle_counter_event(const struct perf_event *event)
263 static u32 arm_cspmu_event_filter(const struct perf_event *event)
570 struct perf_event *event)
619 struct perf_event *event)
635 static bool arm_cspmu_validate_group(struct perf_event *event)
637 struct perf_event *sibling, *leader = event->group_leader;
657 static int arm_cspmu_event_init(struct perf_event *event)
720 static void arm_cspmu_write_counter(struct perf_event *even
[all...]
/linux-master/tools/perf/util/
H A Dsynthetic-events.c25 #include <linux/perf_event.h>
51 union perf_event *event,
153 static int perf_event__prepare_comm(union perf_event *event, pid_t pid, pid_t tid,
191 union perf_event *event, pid_t pid,
222 union perf_event *event,
261 union perf_event *event,
422 union perf_event *event,
489 * Just like the kernel, see __perf_event_mmap in kernel/perf_event.c
546 union perf_event *event,
586 union perf_event *even
[all...]
/linux-master/drivers/perf/hisilicon/
H A Dhisi_uncore_l3c_pmu.c63 static void hisi_l3c_pmu_config_req_tracetag(struct perf_event *event)
84 static void hisi_l3c_pmu_clear_req_tracetag(struct perf_event *event)
105 static void hisi_l3c_pmu_write_ds(struct perf_event *event, u32 ds_cfg)
129 static void hisi_l3c_pmu_config_ds(struct perf_event *event)
147 static void hisi_l3c_pmu_clear_ds(struct perf_event *event)
165 static void hisi_l3c_pmu_config_core_tracetag(struct perf_event *event)
186 static void hisi_l3c_pmu_clear_core_tracetag(struct perf_event *event)
207 static void hisi_l3c_pmu_enable_filter(struct perf_event *event)
216 static void hisi_l3c_pmu_disable_filter(struct perf_event *event)
H A Dhisi_uncore_uc_pmu.c54 static int hisi_uc_pmu_check_filter(struct perf_event *event)
76 static void hisi_uc_pmu_config_req_tracetag(struct perf_event *event)
97 static void hisi_uc_pmu_clear_req_tracetag(struct perf_event *event)
117 static void hisi_uc_pmu_config_srcid_tracetag(struct perf_event *event)
144 static void hisi_uc_pmu_clear_srcid_tracetag(struct perf_event *event)
169 static void hisi_uc_pmu_config_uring_channel(struct perf_event *event)
190 static void hisi_uc_pmu_clear_uring_channel(struct perf_event *event)
209 static void hisi_uc_pmu_enable_filter(struct perf_event *event)
219 static void hisi_uc_pmu_disable_filter(struct perf_event *event)
H A Dhisi_uncore_hha_pmu.c59 static void hisi_hha_pmu_enable_tracetag(struct perf_event *event)
73 static void hisi_hha_pmu_clear_tracetag(struct perf_event *event)
83 static void hisi_hha_pmu_config_ds(struct perf_event *event)
97 static void hisi_hha_pmu_clear_ds(struct perf_event *event)
111 static void hisi_hha_pmu_config_srcid(struct perf_event *event)
127 static void hisi_hha_pmu_disable_srcid(struct perf_event *event)
141 static void hisi_hha_pmu_enable_filter(struct perf_event *event)
150 static void hisi_hha_pmu_disable_filter(struct perf_event *event)
/linux-master/arch/sparc/kernel/
H A Dperf_event.c16 #include <linux/perf_event.h>
92 struct perf_event *event[MAX_HWEVENTS];
863 static u64 sparc_perf_event_update(struct perf_event *event,
887 static int sparc_perf_event_set_period(struct perf_event *event,
928 struct perf_event *cp = cpuc->event[i];
956 struct perf_event *cp = cpuc->event[i];
980 static void sparc_pmu_start(struct perf_event *event, int flags);
991 struct perf_event *cp = cpuc->event[i];
1007 struct perf_event *cp = cpuc->event[i];
1069 struct perf_event *even
[all...]
/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...]
/linux-master/tools/perf/tests/
H A Dswitch-tracking.c75 union perf_event *event, const char *comm, int nr)
126 union perf_event *event,
175 static int process_event(struct evlist *evlist, union perf_event *event,
211 union perf_event *event;
216 union perf_event *event)
267 union perf_event *event;
H A Ddwarf-unwind.c41 union perf_event *event,
50 union perf_event event;
/linux-master/drivers/perf/
H A Dqcom_l2_pmu.c16 #include <linux/perf_event.h>
137 struct perf_event *events[MAX_L2_CTRS];
297 static void l2_cache_event_update(struct perf_event *event)
340 struct perf_event *event)
375 struct perf_event *event)
397 struct perf_event *event = cluster->events[idx];
438 static int l2_cache_event_init(struct perf_event *event)
442 struct perf_event *sibling;
541 static void l2_cache_event_start(struct perf_event *event, int flags)
572 static void l2_cache_event_stop(struct perf_event *even
[all...]
/linux-master/drivers/perf/amlogic/
H A Dmeson_ddr_pmu_core.c12 #include <linux/perf_event.h>
54 static void meson_ddr_set_axi_filter(struct perf_event *event, u8 axi_id)
85 static void meson_ddr_perf_event_update(struct perf_event *event)
118 static int meson_ddr_perf_event_init(struct perf_event *event)
143 static void meson_ddr_perf_event_start(struct perf_event *event, int flags)
151 static int meson_ddr_perf_event_add(struct perf_event *event, int flags)
173 static void meson_ddr_perf_event_stop(struct perf_event *event, int flags)
183 static void meson_ddr_perf_event_del(struct perf_event *event, int flags)
/linux-master/arch/loongarch/include/asm/
H A Dprocessor.h141 struct perf_event *hbp_break[LOONGARCH_MAX_BRP];
142 struct perf_event *hbp_watch[LOONGARCH_MAX_WRP];
/linux-master/arch/xtensa/include/asm/
H A Dprocessor.h160 struct perf_event *ptrace_bp[XCHAL_NUM_IBREAK];
161 struct perf_event *ptrace_wp[XCHAL_NUM_DBREAK];
/linux-master/arch/x86/kernel/
H A Dkgdb.c184 struct perf_event * __percpu *pev;
194 struct perf_event *bp;
230 struct perf_event **pevent;
257 struct perf_event **pevent;
299 struct perf_event *bp;
385 struct perf_event *bp;
626 static void kgdb_hw_overflow_handler(struct perf_event *event,
642 struct perf_event **pevent;
/linux-master/kernel/events/
H A Dring_buffer.c11 #include <linux/perf_event.h>
151 struct perf_event *event, unsigned int size,
270 struct perf_event *event, unsigned int size)
277 struct perf_event *event, unsigned int size)
284 struct perf_event *event, unsigned int size)
366 struct perf_event *event)
368 struct perf_event *output_event = event;
671 int rb_alloc_aux(struct perf_buffer *rb, struct perf_event *event,
/linux-master/tools/lib/perf/Documentation/examples/
H A Dcounting.c1 #include <linux/perf_event.h>
/linux-master/samples/bpf/
H A Dtrace_event_kern.c10 #include <uapi/linux/perf_event.h>
37 SEC("perf_event")
/linux-master/arch/x86/kernel/cpu/
H A Dperfctr-watchdog.c24 #include <asm/perf_event.h>
/linux-master/arch/csky/kernel/
H A Dperf_callchain.c4 #include <linux/perf_event.h>
/linux-master/arch/powerpc/perf/
H A De500-pmu.c9 #include <linux/perf_event.h>

Completed in 208 milliseconds

1234567891011>>