Searched refs:perf_event (Results 51 - 75 of 490) sorted by relevance

1234567891011>>

/linux-master/tools/bpf/bpftool/
H A Dlink.c8 #include <linux/perf_event.h>
366 jsonw_bool_field(wtr, "retprobe", info->perf_event.type == BPF_PERF_EVENT_KRETPROBE);
367 jsonw_uint_field(wtr, "addr", info->perf_event.kprobe.addr);
369 u64_to_ptr(info->perf_event.kprobe.func_name));
370 jsonw_uint_field(wtr, "offset", info->perf_event.kprobe.offset);
371 jsonw_uint_field(wtr, "missed", info->perf_event.kprobe.missed);
372 jsonw_uint_field(wtr, "cookie", info->perf_event.kprobe.cookie);
378 jsonw_bool_field(wtr, "retprobe", info->perf_event.type == BPF_PERF_EVENT_URETPROBE);
380 u64_to_ptr(info->perf_event.uprobe.file_name));
381 jsonw_uint_field(wtr, "offset", info->perf_event
[all...]
/linux-master/arch/powerpc/perf/
H A D8xx-pmu.c10 #include <linux/perf_event.h>
49 static int event_type(struct perf_event *event)
72 static int mpc8xx_pmu_event_init(struct perf_event *event)
81 static int mpc8xx_pmu_add(struct perf_event *event, int flags)
119 static void mpc8xx_pmu_read(struct perf_event *event)
154 static void mpc8xx_pmu_del(struct perf_event *event, int flags)
/linux-master/arch/sh/kernel/
H A Dperf_callchain.c9 #include <linux/perf_event.h>
/linux-master/arch/x86/events/amd/
H A Dpower.c12 #include <linux/perf_event.h>
14 #include "../perf_event.h"
43 static void event_update(struct perf_event *event)
71 static void __pmu_event_start(struct perf_event *event)
82 static void pmu_event_start(struct perf_event *event, int mode)
87 static void pmu_event_stop(struct perf_event *event, int mode)
106 static int pmu_event_add(struct perf_event *event, int mode)
118 static void pmu_event_del(struct perf_event *event, int flags)
123 static int pmu_event_init(struct perf_event *event)
141 static void pmu_event_read(struct perf_event *even
[all...]
/linux-master/arch/powerpc/include/asm/
H A Dperf_event_server.h11 #include <uapi/asm/perf_event.h>
18 struct perf_event;
39 struct perf_event *pevents[], u32 flags);
72 * reserved. Function takes struct perf_event as input,
75 int (*check_attr_config)(struct perf_event *ev);
109 * Only override the default definitions in include/linux/perf_event.h
/linux-master/tools/perf/util/
H A Doff_cpu.h4 #include <linux/perf_event.h>
H A Dtsc.h30 size_t perf_event__fprintf_time_conv(union perf_event *event, FILE *fp);
H A Devent.c11 #include <linux/perf_event.h>
174 size_t perf_event__fprintf_comm(union perf_event *event, FILE *fp)
186 size_t perf_event__fprintf_namespaces(union perf_event *event, FILE *fp)
213 size_t perf_event__fprintf_cgroup(union perf_event *event, FILE *fp)
220 union perf_event *event,
228 union perf_event *event,
236 union perf_event *event,
244 union perf_event *event,
252 union perf_event *event,
260 union perf_event *even
[all...]
H A Dordered-events.h13 union perf_event *event;
56 int ordered_events__queue(struct ordered_events *oe, union perf_event *event,
H A Dauxtrace.h16 #include <linux/perf_event.h>
22 union perf_event;
209 union perf_event *event,
213 union perf_event *event,
216 struct perf_sample *sample, union perf_event *event,
513 union perf_event *event, void *data1,
528 union perf_event *event, off_t data_offset,
602 int auxtrace_index__auxtrace_event(struct list_head *head, union perf_event *event,
618 union perf_event *event);
620 union perf_event *even
[all...]
/linux-master/tools/perf/tests/
H A Devent_update.c16 union perf_event *event,
29 union perf_event *event,
47 union perf_event *event,
61 union perf_event *event,
/linux-master/arch/loongarch/kernel/
H A Dhw_breakpoint.c9 #include <linux/perf_event.h>
14 static DEFINE_PER_CPU(struct perf_event *, bp_on_reg[LOONGARCH_MAX_BRP]);
17 static DEFINE_PER_CPU(struct perf_event *, wp_on_reg[LOONGARCH_MAX_WRP]);
106 * @bp: perf_event to setup
115 static int hw_breakpoint_slot_setup(struct perf_event **slots, int max_slots,
116 struct perf_event *bp, enum hw_breakpoint_ops ops)
119 struct perf_event **slot;
174 static int hw_breakpoint_control(struct perf_event *bp,
179 struct perf_event **slots;
234 int arch_install_hw_breakpoint(struct perf_event *b
[all...]
H A Dperf_event.c17 #include <linux/perf_event.h>
91 struct perf_event *events[LOONGARCH_MAX_HWEVENTS];
268 struct perf_event *event = container_of(evt, struct perf_event, hw);
299 static int loongarch_pmu_event_set_period(struct perf_event *event,
335 static void loongarch_pmu_event_update(struct perf_event *event,
356 static void loongarch_pmu_start(struct perf_event *event, int flags)
372 static void loongarch_pmu_stop(struct perf_event *event, int flags)
385 static int loongarch_pmu_add(struct perf_event *event, int flags)
420 static void loongarch_pmu_del(struct perf_event *even
[all...]
/linux-master/arch/powerpc/kernel/
H A Dhw_breakpoint.c34 static DEFINE_PER_CPU(struct perf_event *, bp_per_reg[HBP_NUM_MAX]);
56 int arch_install_hw_breakpoint(struct perf_event *bp)
59 struct perf_event **slot;
92 void arch_uninstall_hw_breakpoint(struct perf_event *bp)
95 struct perf_event **slot;
112 static bool is_ptrace_bp(struct perf_event *bp)
187 int hw_breakpoint_arch_parse(struct perf_event *bp,
236 struct perf_event *bp = __this_cpu_read(bp_per_reg[i]);
269 static void handler_error(struct perf_event *bp)
276 static void larx_stcx_err(struct perf_event *b
[all...]
/linux-master/arch/x86/events/intel/
H A Duncore_discovery.h145 struct perf_event *event);
147 struct perf_event *event);
153 struct perf_event *event);
155 struct perf_event *event);
/linux-master/tools/perf/arch/arm/util/
H A Dpmu.c9 #include <linux/perf_event.h>
/linux-master/arch/alpha/kernel/
H A Dperf_event.c13 #include <linux/perf_event.h>
41 struct perf_event *event[MAX_HWEVENTS];
86 int (*check_constraints)(struct perf_event **, unsigned long *, int);
152 static int ev67_check_constraints(struct perf_event **event,
252 static int alpha_perf_event_set_period(struct perf_event *event,
307 static unsigned long alpha_perf_event_update(struct perf_event *event,
340 static int collect_events(struct perf_event *group, int max_count,
341 struct perf_event *event[], unsigned long *evtype,
344 struct perf_event *pe;
371 static int alpha_check_constraints(struct perf_event **event
[all...]
/linux-master/include/linux/
H A Dcgroup_subsys.h45 SUBSYS(perf_event)
/linux-master/arch/x86/events/
H A Dmsr.c2 #include <linux/perf_event.h>
203 static int msr_event_init(struct perf_event *event)
229 static inline u64 msr_read_counter(struct perf_event *event)
241 static void msr_event_update(struct perf_event *event)
265 static void msr_event_start(struct perf_event *event, int flags)
272 static void msr_event_stop(struct perf_event *event, int flags)
277 static void msr_event_del(struct perf_event *event, int flags)
282 static int msr_event_add(struct perf_event *event, int flags)
/linux-master/drivers/perf/
H A Driscv_pmu.c21 static bool riscv_perf_user_access(struct perf_event *event)
30 void arch_perf_update_userpage(struct perf_event *event,
77 * perf_event_mmap_page documentation in perf_event.h.
147 u64 riscv_pmu_ctr_get_width_mask(struct perf_event *event)
162 u64 riscv_pmu_event_update(struct perf_event *event)
189 void riscv_pmu_stop(struct perf_event *event, int flags)
204 int riscv_pmu_event_set_period(struct perf_event *event)
242 void riscv_pmu_start(struct perf_event *event, int flags)
259 static int riscv_pmu_add(struct perf_event *event, int flags)
283 static void riscv_pmu_del(struct perf_event *even
[all...]
H A Darm_pmuv3.c12 #include <asm/perf_event.h>
331 static bool armv8pmu_event_is_64bit(struct perf_event *event)
336 static bool armv8pmu_event_want_user_access(struct perf_event *event)
471 static bool armv8pmu_event_has_user_read(struct perf_event *event)
481 static bool armv8pmu_event_is_chained(struct perf_event *event)
531 static u64 armv8pmu_read_hw_counter(struct perf_event *event)
547 static bool armv8pmu_event_needs_bias(struct perf_event *event)
563 static u64 armv8pmu_bias_long_counter(struct perf_event *event, u64 value)
571 static u64 armv8pmu_unbias_long_counter(struct perf_event *event, u64 value)
579 static u64 armv8pmu_read_counter(struct perf_event *even
995 struct perf_event *perf_event = container_of(attr, struct perf_event, local
[all...]
/linux-master/drivers/perf/hisilicon/
H A Dhisi_uncore_pmu.c51 static bool hisi_validate_event_group(struct perf_event *event)
53 struct perf_event *sibling, *leader = event->group_leader;
84 int hisi_uncore_pmu_get_event_idx(struct perf_event *event)
119 struct perf_event *event;
170 int hisi_uncore_pmu_event_init(struct perf_event *event)
228 static void hisi_uncore_pmu_enable_event(struct perf_event *event)
246 static void hisi_uncore_pmu_disable_event(struct perf_event *event)
258 void hisi_uncore_pmu_set_event_period(struct perf_event *event)
278 void hisi_uncore_pmu_event_update(struct perf_event *event)
299 void hisi_uncore_pmu_start(struct perf_event *even
[all...]
/linux-master/arch/x86/kernel/
H A Dhw_breakpoint.c18 #include <linux/perf_event.h>
49 static DEFINE_PER_CPU(struct perf_event *, bp_per_reg[HBP_NUM]);
96 int arch_install_hw_breakpoint(struct perf_event *bp)
105 struct perf_event **slot = this_cpu_ptr(&bp_per_reg[i]);
144 void arch_uninstall_hw_breakpoint(struct perf_event *bp)
153 struct perf_event **slot = this_cpu_ptr(&bp_per_reg[i]);
323 static int arch_build_bp_info(struct perf_event *bp,
422 int hw_breakpoint_arch_parse(struct perf_event *bp,
513 struct perf_event *bp;
589 void hw_breakpoint_pmu_read(struct perf_event *b
[all...]
/linux-master/arch/arm64/kernel/
H A Dhw_breakpoint.c17 #include <linux/perf_event.h>
31 static DEFINE_PER_CPU(struct perf_event *, bp_on_reg[ARM_MAX_BRP]);
34 static DEFINE_PER_CPU(struct perf_event *, wp_on_reg[ARM_MAX_WRP]);
161 static int is_compat_bp(struct perf_event *bp)
181 * @bp: perf_event to setup
189 static int hw_breakpoint_slot_setup(struct perf_event **slots, int max_slots,
190 struct perf_event *bp,
194 struct perf_event **slot;
223 static int hw_breakpoint_control(struct perf_event *bp,
227 struct perf_event **slot
[all...]
/linux-master/arch/arm/mm/
H A Dcache-l2x0-pmu.c11 #include <linux/perf_event.h>
36 static struct perf_event *events[PMU_NR_COUNTERS];
117 static void l2x0_pmu_event_read(struct perf_event *event)
133 static void l2x0_pmu_event_configure(struct perf_event *event)
160 struct perf_event *event = events[i];
186 static void l2x0_pmu_event_start(struct perf_event *event, int flags)
212 static void l2x0_pmu_event_stop(struct perf_event *event, int flags)
229 static int l2x0_pmu_event_add(struct perf_event *event, int flags)
259 static void l2x0_pmu_event_del(struct perf_event *event, int flags)
272 static bool l2x0_pmu_group_is_valid(struct perf_event *even
[all...]

Completed in 365 milliseconds

1234567891011>>