Searched refs:perf_event (Results 1 - 25 of 490) sorted by relevance

1234567891011>>

/linux-master/include/linux/
H A Dperf_event_api.h1 #include <linux/perf_event.h>
H A Dhw_breakpoint.h5 #include <linux/perf_event.h>
42 static inline unsigned long hw_breakpoint_addr(struct perf_event *bp)
47 static inline int hw_breakpoint_type(struct perf_event *bp)
52 static inline unsigned long hw_breakpoint_len(struct perf_event *bp)
57 extern struct perf_event *
65 modify_user_hw_breakpoint(struct perf_event *bp, struct perf_event_attr *attr);
67 modify_user_hw_breakpoint_check(struct perf_event *bp, struct perf_event_attr *attr,
73 extern struct perf_event *
79 extern struct perf_event * __percpu *
84 extern int register_perf_hw_breakpoint(struct perf_event *b
[all...]
H A Dperf_event.h17 #include <uapi/linux/perf_event.h>
25 # include <asm/perf_event.h>
273 struct perf_event;
350 int (*event_init) (struct perf_event *event);
356 void (*event_mapped) (struct perf_event *event, struct mm_struct *mm); /* optional */
357 void (*event_unmapped) (struct perf_event *event, struct mm_struct *mm); /* optional */
385 int (*add) (struct perf_event *event, int flags);
386 void (*del) (struct perf_event *event, int flags);
406 void (*start) (struct perf_event *event, int flags);
407 void (*stop) (struct perf_event *even
671 struct perf_event { struct
[all...]
/linux-master/include/linux/perf/
H A Driscv_pmu.h12 #include <linux/perf_event.h>
37 struct perf_event *events[RISCV_MAX_COUNTERS];
59 u64 (*ctr_read)(struct perf_event *event);
60 int (*ctr_get_idx)(struct perf_event *event);
62 void (*ctr_clear_idx)(struct perf_event *event);
63 void (*ctr_start)(struct perf_event *event, u64 init_val);
64 void (*ctr_stop)(struct perf_event *event, unsigned long flag);
65 int (*event_map)(struct perf_event *event, u64 *config);
66 void (*event_init)(struct perf_event *event);
67 void (*event_mapped)(struct perf_event *even
[all...]
H A Darm_pmu.h12 #include <linux/perf_event.h>
54 struct perf_event *events[ARMPMU_MAX_HWEVENTS];
85 void (*enable)(struct perf_event *event);
86 void (*disable)(struct perf_event *event);
88 struct perf_event *event);
90 struct perf_event *event);
93 u64 (*read_counter)(struct perf_event *event);
94 void (*write_counter)(struct perf_event *event, u64 val);
98 int (*map_event)(struct perf_event *event);
120 u64 armpmu_event_update(struct perf_event *even
[all...]
/linux-master/tools/perf/util/
H A Ds390-cpumsf.h12 union perf_event;
19 int s390_cpumsf_process_auxtrace_info(union perf_event *event,
H A Dsample-raw.h6 union perf_event;
9 void evlist__s390_sample_raw(struct evlist *evlist, union perf_event *event,
12 void evlist__amd_sample_raw(struct evlist *evlist, union perf_event *event,
H A Dintel-bts.h26 union perf_event;
31 int intel_bts_process_auxtrace_info(union perf_event *event,
H A Dtool.h10 union perf_event;
18 typedef int (*event_sample)(struct perf_tool *tool, union perf_event *event,
22 typedef int (*event_op)(struct perf_tool *tool, union perf_event *event,
26 union perf_event *event,
29 typedef int (*event_op2)(struct perf_session *session, union perf_event *event);
30 typedef s64 (*event_op3)(struct perf_session *session, union perf_event *event);
31 typedef int (*event_op4)(struct perf_session *session, union perf_event *event, u64 data,
34 typedef int (*event_oe)(struct perf_tool *tool, union perf_event *event,
H A Darm-spe.h20 union perf_event;
27 int arm_spe_process_auxtrace_info(union perf_event *event,
H A Devent.h6 * in files included from uapi/linux/perf_event.h such as
271 union perf_event *event,
275 union perf_event *event,
279 union perf_event *event,
283 union perf_event *event,
287 union perf_event *event,
291 union perf_event *event,
295 union perf_event *event,
299 union perf_event *event,
303 union perf_event *even
[all...]
H A Dhisi-ptt.h16 int hisi_ptt_process_auxtrace_info(union perf_event *event,
H A Dintel-pt.h35 union perf_event;
42 int intel_pt_process_auxtrace_info(union perf_event *event,
H A Ddlfilter.h11 union perf_event;
31 union perf_event *event;
59 union perf_event *event,
70 union perf_event *event,
83 union perf_event *event,
/linux-master/tools/lib/perf/include/perf/
H A Dmmap.h8 union perf_event;
13 LIBPERF_API union perf_event *perf_mmap__read_event(struct perf_mmap *map);
/linux-master/tools/perf/trace/beauty/
H A Dperf_ioctl.sh8 grep -E $regex ${header_dir}/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);
/linux-master/arch/x86/include/asm/
H A Dhw_breakpoint.h50 struct perf_event;
54 extern int hw_breakpoint_arch_parse(struct perf_event *bp,
61 int arch_install_hw_breakpoint(struct perf_event *bp);
62 void arch_uninstall_hw_breakpoint(struct perf_event *bp);
63 void hw_breakpoint_pmu_read(struct perf_event *bp);
64 void hw_breakpoint_pmu_unthrottle(struct perf_event *bp);
67 arch_fill_perf_breakpoint(struct perf_event *bp);
H A Dintel_pt.h33 extern int is_intel_pt_event(struct perf_event *event);
38 static inline int is_intel_pt_event(struct perf_event *event) { return 0; }
/linux-master/drivers/perf/hisilicon/
H A Dhisi_uncore_pmu.h19 #include <linux/perf_event.h>
41 static inline u32 hisi_get_##name(struct perf_event *event) \
54 int (*check_filter)(struct perf_event *event);
56 int (*get_event_idx)(struct perf_event *);
67 void (*enable_filter)(struct perf_event *event);
68 void (*disable_filter)(struct perf_event *event);
79 struct perf_event *hw_events[HISI_MAX_COUNTERS];
112 int hisi_uncore_pmu_get_event_idx(struct perf_event *event);
113 void hisi_uncore_pmu_read(struct perf_event *event);
114 int hisi_uncore_pmu_add(struct perf_event *even
[all...]
/linux-master/tools/perf/tests/
H A Dparse-no-sample-id-all.c13 static int process_event(struct evlist **pevlist, union perf_event *event)
39 static int process_events(union perf_event **events, size_t count)
96 union perf_event *events[] = {
97 (union perf_event *)&event1,
98 (union perf_event *)&event2,
99 (union perf_event *)&event3,
/linux-master/arch/sh/include/asm/
H A Dhw_breakpoint.h44 struct perf_event;
57 extern int hw_breakpoint_arch_parse(struct perf_event *bp,
63 int arch_install_hw_breakpoint(struct perf_event *bp);
64 void arch_uninstall_hw_breakpoint(struct perf_event *bp);
65 void hw_breakpoint_pmu_read(struct perf_event *bp);
67 extern void arch_fill_perf_breakpoint(struct perf_event *bp);
/linux-master/arch/powerpc/include/asm/
H A Dhw_breakpoint.h72 struct perf_event;
80 extern int hw_breakpoint_arch_parse(struct perf_event *bp,
85 int arch_install_hw_breakpoint(struct perf_event *bp);
86 void arch_uninstall_hw_breakpoint(struct perf_event *bp);
87 void hw_breakpoint_pmu_read(struct perf_event *bp);
91 extern void ptrace_triggered(struct perf_event *bp,
/linux-master/arch/riscv/include/asm/
H A Dperf_event.h11 #include <linux/perf_event.h>
/linux-master/arch/xtensa/kernel/
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...]

Completed in 442 milliseconds

1234567891011>>