Searched refs:perf_event (Results 126 - 150 of 487) sorted by relevance

1234567891011>>

/linux-master/include/kvm/
H A Darm_pmu.h10 #include <linux/perf_event.h>
18 struct perf_event *perf_event; member in struct:kvm_pmc
/linux-master/arch/x86/events/amd/
H A Dlbr.c2 #include <linux/perf_event.h>
3 #include <asm/perf_event.h>
5 #include "../perf_event.h"
245 static int amd_pmu_lbr_setup_filter(struct perf_event *event)
309 int amd_pmu_lbr_hw_config(struct perf_event *event)
343 void amd_pmu_lbr_add(struct perf_event *event)
363 void amd_pmu_lbr_del(struct perf_event *event)
/linux-master/tools/perf/util/
H A Dsideband_evlist.c9 #include <linux/perf_event.h>
60 union perf_event *event;
H A Dbuild-id.h38 int build_id__mark_dso_hit(struct perf_tool *tool, union perf_event *event,
44 int perf_event__inject_buildid(struct perf_tool *tool, union perf_event *event,
H A Dtrace-event-scripting.c25 union perf_event *event,
54 static void process_event_unsupported(union perf_event *event __maybe_unused,
H A Ddebug.h59 union perf_event;
62 void trace_event(union perf_event *event);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dmissed.c38 ASSERT_EQ(info.perf_event.type, BPF_PERF_EVENT_KPROBE, "info.perf_event.type");
39 ASSERT_EQ(info.perf_event.kprobe.missed, 1, "info.perf_event.kprobe.missed");
/linux-master/drivers/perf/hisilicon/
H A Dhns3_pmu.c25 #include <linux/perf_event.h>
302 struct perf_event *hw_events[HNS3_PMU_MAX_HW_EVENTS];
325 static inline u64 hns3_pmu_get_##_name(struct perf_event *event) \
727 static u32 hns3_pmu_get_event(struct perf_event *event)
734 static u32 hns3_pmu_get_real_event(struct perf_event *event)
776 static bool hns3_pmu_cmp_event(struct perf_event *target,
777 struct perf_event *event)
783 struct perf_event *event)
785 struct perf_event *sibling;
911 static int hns3_pmu_set_func_mode(struct perf_event *even
[all...]
H A Dhisi_uncore_pa_pmu.c61 static void hisi_pa_pmu_enable_tracetag(struct perf_event *event)
75 static void hisi_pa_pmu_clear_tracetag(struct perf_event *event)
89 static void hisi_pa_pmu_config_tgtid(struct perf_event *event)
102 static void hisi_pa_pmu_clear_tgtid(struct perf_event *event)
111 static void hisi_pa_pmu_config_srcid(struct perf_event *event)
124 static void hisi_pa_pmu_clear_srcid(struct perf_event *event)
133 static void hisi_pa_pmu_enable_filter(struct perf_event *event)
142 static void hisi_pa_pmu_disable_filter(struct perf_event *event)
H A Dhisi_uncore_sllc_pmu.c56 static void hisi_sllc_pmu_enable_tracetag(struct perf_event *event)
70 static void hisi_sllc_pmu_disable_tracetag(struct perf_event *event)
84 static void hisi_sllc_pmu_config_tgtid(struct perf_event *event)
101 static void hisi_sllc_pmu_clear_tgtid(struct perf_event *event)
118 static void hisi_sllc_pmu_config_srcid(struct perf_event *event)
136 static void hisi_sllc_pmu_clear_srcid(struct perf_event *event)
152 static void hisi_sllc_pmu_enable_filter(struct perf_event *event)
161 static void hisi_sllc_pmu_clear_filter(struct perf_event *event)
/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-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...]
/linux-master/tools/perf/arch/x86/util/
H A Devent.c21 union perf_event *event;
27 union perf_event *event = args->event;
45 * kernel uses 0 for user space maps, see kernel/perf_event.c
/linux-master/tools/lib/perf/Documentation/examples/
H A Dsampling.c1 #include <linux/perf_event.h>
38 union perf_event *event;
/linux-master/drivers/perf/
H A Darm_dsu_pmu.c24 #include <linux/perf_event.h>
95 struct perf_event *events[DSU_PMU_MAX_HW_CNTRS];
248 static inline u64 dsu_pmu_read_counter(struct perf_event *event)
275 static void dsu_pmu_write_counter(struct perf_event *event, u64 val)
300 struct perf_event *event)
333 struct perf_event *event)
349 static void dsu_pmu_event_update(struct perf_event *event)
364 static void dsu_pmu_read(struct perf_event *event)
381 static void dsu_pmu_set_event_period(struct perf_event *event)
403 struct perf_event *even
[all...]
H A Dmarvell_cn10k_tad_pmu.c13 #include <linux/perf_event.h>
36 struct perf_event *events[TAD_MAX_COUNTERS];
42 static void tad_pmu_event_counter_read(struct perf_event *event)
60 static void tad_pmu_event_counter_stop(struct perf_event *event, int flags)
79 static void tad_pmu_event_counter_start(struct perf_event *event, int flags)
105 static void tad_pmu_event_counter_del(struct perf_event *event, int flags)
116 static int tad_pmu_event_counter_add(struct perf_event *event, int flags)
139 static int tad_pmu_event_init(struct perf_event *event)
H A Ddwc_pcie_pmu.c16 #include <linux/perf_event.h>
87 struct perf_event *event[DWC_PCIE_EVENT_TYPE_MAX];
285 static u64 dwc_pcie_pmu_read_lane_event_counter(struct perf_event *event)
297 static u64 dwc_pcie_pmu_read_time_based_counter(struct perf_event *event)
338 static void dwc_pcie_pmu_event_update(struct perf_event *event)
362 static int dwc_pcie_pmu_event_init(struct perf_event *event)
366 struct perf_event *sibling;
403 static void dwc_pcie_pmu_event_start(struct perf_event *event, int flags)
418 static void dwc_pcie_pmu_event_stop(struct perf_event *event, int flags)
436 static int dwc_pcie_pmu_event_add(struct perf_event *even
[all...]
H A Darm-cci.c11 #include <linux/perf_event.h>
69 struct perf_event **events;
647 struct perf_event *event = cci_hw->events[i];
753 * as it only tells us if the counter is assigned to perf_event or not.
754 * The state of the perf_event cannot be locked by the PMU layer, hence
796 static int pmu_get_event_idx(struct cci_pmu_hw_events *hw, struct perf_event *event)
814 static int pmu_map_event(struct perf_event *event)
872 static u32 pmu_read_counter(struct perf_event *event)
899 struct perf_event *event = cci_hw->events[i];
961 struct perf_event *even
[all...]
/linux-master/tools/perf/util/bpf_skel/vmlinux/
H A Dvmlinux.h7 #include <linux/perf_event.h>
179 struct perf_event *event;
/linux-master/arch/x86/events/
H A Drapl.c60 #include <linux/perf_event.h>
64 #include "perf_event.h"
153 static inline u64 rapl_read_counter(struct perf_event *event)
175 static u64 rapl_event_update(struct perf_event *event)
215 struct perf_event *event;
242 struct perf_event *event)
258 static void rapl_pmu_event_start(struct perf_event *event, int mode)
268 static void rapl_pmu_event_stop(struct perf_event *event, int mode)
302 static int rapl_pmu_event_add(struct perf_event *event, int mode)
320 static void rapl_pmu_event_del(struct perf_event *even
[all...]
H A Dcore.c15 #include <linux/perf_event.h>
45 #include "perf_event.h"
115 u64 x86_perf_event_update(struct perf_event *event)
158 static int x86_pmu_extra_regs(u64 config, struct perf_event *event)
340 static void hw_perf_event_destroy(struct perf_event *event)
346 void hw_perf_lbr_event_destroy(struct perf_event *event)
360 set_ext_hw_attr(struct hw_perf_event *hwc, struct perf_event *event)
474 int x86_setup_perfctr(struct perf_event *event)
519 static inline int precise_br_compat(struct perf_event *event)
561 int x86_pmu_hw_config(struct perf_event *even
[all...]
/linux-master/arch/arc/kernel/
H A Dperf_event.c12 #include <linux/perf_event.h>
216 struct perf_event *act_counter[ARC_PERF_MAX_COUNTERS];
280 static void arc_perf_event_update(struct perf_event *event,
296 static void arc_pmu_read(struct perf_event *event)
329 static int arc_pmu_event_init(struct perf_event *event)
405 static int arc_pmu_event_set_period(struct perf_event *event)
451 static void arc_pmu_start(struct perf_event *event, int flags)
476 static void arc_pmu_stop(struct perf_event *event, int flags)
509 static void arc_pmu_del(struct perf_event *event, int flags)
522 static int arc_pmu_add(struct perf_event *even
[all...]
/linux-master/arch/x86/events/intel/
H A Dpt.c21 #include <asm/perf_event.h>
27 #include "../perf_event.h"
312 static bool pt_event_valid(struct perf_event *event)
416 static void pt_config_start(struct perf_event *event)
458 static u64 pt_config_filters(struct perf_event *event)
499 static void pt_config(struct perf_event *event)
540 static void pt_config_stop(struct perf_event *event)
1299 pt_buffer_setup_aux(struct perf_event *event, void **pages,
1355 static int pt_addr_filters_init(struct perf_event *event)
1376 static void pt_addr_filters_fini(struct perf_event *even
[all...]
H A Dknc.c4 #include <linux/perf_event.h>
9 #include "../perf_event.h"
177 knc_pmu_disable_event(struct perf_event *event)
188 static void knc_pmu_enable_event(struct perf_event *event)
243 struct perf_event *event = cpuc->events[bit];
/linux-master/arch/powerpc/include/asm/
H A Demulated_ops.h10 #include <linux/perf_event.h>

Completed in 233 milliseconds

1234567891011>>