/linux-master/drivers/perf/arm_cspmu/ |
H A D | ampere_cspmu.c | 29 static inline u32 get_##_name(const struct perf_event *event) \ 135 static u32 ampere_cspmu_event_filter(const struct perf_event *event) 148 struct perf_event *event; 170 static int ampere_cspmu_validate_configs(struct perf_event *event, 171 struct perf_event *event2) 182 struct perf_event *new) 184 struct perf_event *curr, *leader = new->group_leader;
|
/linux-master/drivers/dma/idxd/ |
H A D | perfmon.h | 16 #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/tools/perf/tests/ |
H A D | stat.c | 25 union perf_event *event, 66 union perf_event *event, 97 union perf_event *event,
|
/linux-master/drivers/perf/ |
H A D | arm_dmc620_pmu.c | 25 #include <linux/perf_event.h> 100 struct perf_event *events[DMC620_PMU_MAX_COUNTERS]; 278 unsigned int dmc620_event_to_counter_control(struct perf_event *event) 293 static int dmc620_get_event_idx(struct perf_event *event) 316 u64 dmc620_pmu_read_counter(struct perf_event *event) 324 static void dmc620_pmu_event_update(struct perf_event *event) 339 static void dmc620_pmu_event_set_period(struct perf_event *event) 348 static void dmc620_pmu_enable_counter(struct perf_event *event) 358 static void dmc620_pmu_disable_counter(struct perf_event *event) 375 struct perf_event *even [all...] |
H A D | starfive_starlink_pmu.c | 21 #include <linux/perf_event.h> 65 struct perf_event *events[STARLINK_PMU_MAX_COUNTERS]; 155 static void starlink_pmu_set_event_period(struct perf_event *event) 175 static void starlink_pmu_counter_start(struct perf_event *event, 212 static void starlink_pmu_counter_stop(struct perf_event *event, 232 static void starlink_pmu_update(struct perf_event *event) 258 static void starlink_pmu_start(struct perf_event *event, int flags) 277 static void starlink_pmu_stop(struct perf_event *event, int flags) 290 static int starlink_pmu_add(struct perf_event *event, int flags) 330 static void starlink_pmu_del(struct perf_event *even [all...] |
H A D | thunderx2_pmu.c | 10 #include <linux/perf_event.h> 105 struct perf_event *events[TX2_PMU_MAX_COUNTERS]; 111 void (*init_cntr_base)(struct perf_event *event, 113 void (*stop_event)(struct perf_event *event); 114 void (*start_event)(struct perf_event *event, int flags); 322 static void init_cntr_base_l3c(struct perf_event *event, 338 static void init_cntr_base_dmc(struct perf_event *event, 354 static void init_cntr_base_ccpi2(struct perf_event *event, 367 static void uncore_start_event_l3c(struct perf_event *event, int flags) 383 static inline void uncore_stop_event_l3c(struct perf_event *even [all...] |
/linux-master/include/linux/ |
H A D | trace_events.h | 10 #include <linux/perf_event.h> 404 struct perf_event *); 698 struct perf_event *p_event) \ 765 int perf_event_attach_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie); 766 void perf_event_detach_bpf_prog(struct perf_event *event); 767 int perf_event_query_prog_array(struct perf_event *event, void __user *info); 772 int bpf_get_perf_event_info(const struct perf_event *event, u32 *prog_id, 785 perf_event_attach_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie) 790 static inline void perf_event_detach_bpf_prog(struct perf_event *event) { } 793 perf_event_query_prog_array(struct perf_event *even [all...] |
/linux-master/arch/mips/kernel/ |
H A D | perf_event.c | 14 #include <linux/perf_event.h>
|
H A D | perf_regs.c | 12 #include <linux/perf_event.h>
|
/linux-master/arch/arm/kernel/ |
H A D | perf_regs.c | 5 #include <linux/perf_event.h>
|
H A D | perf_event_v6.c | 173 static inline u64 armv6pmu_read_counter(struct perf_event *event) 191 static inline void armv6pmu_write_counter(struct perf_event *event, u64 value) 206 static void armv6pmu_enable_event(struct perf_event *event) 260 struct perf_event *event = cpuc->events[idx]; 316 struct perf_event *event) 342 struct perf_event *event) 347 static void armv6pmu_disable_event(struct perf_event *event) 378 static int armv6_map_event(struct perf_event *event)
|
/linux-master/arch/csky/kernel/ |
H A D | perf_regs.c | 6 #include <linux/perf_event.h>
|
/linux-master/arch/riscv/kernel/ |
H A D | perf_regs.c | 6 #include <linux/perf_event.h>
|
/linux-master/kernel/events/ |
H A D | internal.h | 81 extern void perf_event_wakeup(struct perf_event *event); 82 extern int rb_alloc_aux(struct perf_buffer *rb, struct perf_event *event, 85 extern struct perf_buffer *ring_buffer_get(struct perf_event *event); 93 void perf_event_aux_event(struct perf_event *event, unsigned long head,
|
/linux-master/arch/loongarch/kernel/ |
H A D | perf_regs.c | 9 #include <linux/perf_event.h>
|
/linux-master/tools/perf/util/ |
H A D | print-events.h | 5 #include <linux/perf_event.h>
|
H A D | ordered-events.c | 64 static union perf_event *__dup_event(struct ordered_events *oe, 65 union perf_event *event) 67 union perf_event *new_event = NULL; 78 static union perf_event *dup_event(struct ordered_events *oe, 79 union perf_event *event) 84 static void __free_dup_event(struct ordered_events *oe, union perf_event *event) 92 static void free_dup_event(struct ordered_events *oe, union perf_event *event) 100 union perf_event *event) 104 union perf_event *new_event; 173 union perf_event *even [all...] |
/linux-master/drivers/perf/hisilicon/ |
H A D | hisi_pcie_pmu.c | 20 #include <linux/perf_event.h> 66 struct perf_event *hw_events[HISI_PCIE_MAX_COUNTERS]; 88 static u64 hisi_pcie_get_##_name(struct perf_event *event) \ 180 static u32 hisi_pcie_get_real_event(struct perf_event *event) 219 static u64 hisi_pcie_pmu_get_event_ctrl_val(struct perf_event *event) 260 static void hisi_pcie_pmu_config_event_ctrl(struct perf_event *event) 269 static void hisi_pcie_pmu_clear_event_ctrl(struct perf_event *event) 298 static bool hisi_pcie_pmu_valid_filter(struct perf_event *event, 322 static bool hisi_pcie_pmu_cmp_event(struct perf_event *target, 323 struct perf_event *even [all...] |
/linux-master/tools/perf/arch/x86/util/ |
H A D | pmu.c | 8 #include <linux/perf_event.h>
|
/linux-master/arch/arm64/kvm/ |
H A D | pmu-emul.c | 11 #include <linux/perf_event.h> 127 if (pmc->perf_event) 128 counter += perf_event_read_value(pmc->perf_event, &enabled, 197 if (pmc->perf_event) { 198 perf_event_disable(pmc->perf_event); 199 perf_event_release_kernel(pmc->perf_event); 200 pmc->perf_event = NULL; 215 if (!pmc->perf_event) 303 if (!pmc->perf_event) { 306 perf_event_enable(pmc->perf_event); 497 kvm_pmu_perf_overflow(struct perf_event *perf_event, struct perf_sample_data *data, struct pt_regs *regs) argument [all...] |
/linux-master/arch/x86/events/amd/ |
H A D | iommu.c | 13 #include <linux/perf_event.h> 19 #include "../perf_event.h" 153 static int get_next_avail_iommu_bnk_cntr(struct perf_event *event) 206 static int perf_iommu_event_init(struct perf_event *event) 232 static inline struct amd_iommu *perf_event_2_iommu(struct perf_event *ev) 237 static void perf_iommu_enable_event(struct perf_event *ev) 267 static void perf_iommu_disable_event(struct perf_event *event) 277 static void perf_iommu_start(struct perf_event *event, int flags) 309 static void perf_iommu_read(struct perf_event *event) 329 static void perf_iommu_stop(struct perf_event *even [all...] |
/linux-master/arch/xtensa/kernel/ |
H A D | perf_event.c | 13 #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...] |
/linux-master/arch/sh/include/asm/ |
H A D | ptrace.h | 120 struct perf_event; 123 extern void ptrace_triggered(struct perf_event *bp,
|
/linux-master/arch/riscv/include/asm/ |
H A D | kvm_vcpu_pmu.h | 32 struct perf_event *perf_event; member in struct:kvm_pmc
|
/linux-master/arch/x86/kvm/ |
H A D | pmu.c | 16 #include <linux/perf_event.h> 19 #include <asm/perf_event.h> 104 if (pmc->perf_event && pmc->perf_event->attr.precise_ip) { 126 static void kvm_perf_overflow(struct perf_event *perf_event, argument 130 struct kvm_pmc *pmc = perf_event->overflow_handler_context; 181 struct perf_event *event; 223 pmc->perf_event = event; 236 if (pmc->perf_event [all...] |