/linux-master/include/linux/ |
H A D | perf_event_api.h | 1 #include <linux/perf_event.h>
|
H A D | hw_breakpoint.h | 5 #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 D | perf_event.h | 17 #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 D | riscv_pmu.h | 12 #include <linux/perf_event.h> 37 struct perf_event *events[RISCV_MAX_COUNTERS]; 51 u64 (*ctr_read)(struct perf_event *event); 52 int (*ctr_get_idx)(struct perf_event *event); 54 void (*ctr_clear_idx)(struct perf_event *event); 55 void (*ctr_start)(struct perf_event *event, u64 init_val); 56 void (*ctr_stop)(struct perf_event *event, unsigned long flag); 57 int (*event_map)(struct perf_event *event, u64 *config); 58 void (*event_init)(struct perf_event *event); 59 void (*event_mapped)(struct perf_event *even [all...] |
H A D | arm_pmu.h | 12 #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 D | s390-cpumsf.h | 12 union perf_event; 19 int s390_cpumsf_process_auxtrace_info(union perf_event *event,
|
H A D | sample-raw.h | 6 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 D | intel-bts.h | 26 union perf_event; 31 int intel_bts_process_auxtrace_info(union perf_event *event,
|
H A D | tool.h | 10 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 D | arm-spe.h | 20 union perf_event; 27 int arm_spe_process_auxtrace_info(union perf_event *event,
|
H A D | event.h | 6 * 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 D | hisi-ptt.h | 16 int hisi_ptt_process_auxtrace_info(union perf_event *event,
|
H A D | intel-pt.h | 35 union perf_event; 42 int intel_pt_process_auxtrace_info(union perf_event *event,
|
/linux-master/tools/lib/perf/include/perf/ |
H A D | mmap.h | 8 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 D | perf_ioctl.sh | 8 grep -E $regex ${header_dir}/perf_event.h | \
|
/linux-master/arch/xtensa/include/asm/ |
H A D | hw_breakpoint.h | 34 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 D | hw_breakpoint.h | 50 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 D | intel_pt.h | 33 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 D | hisi_uncore_pmu.h | 19 #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/arch/sh/include/asm/ |
H A D | hw_breakpoint.h | 44 struct perf_event; 55 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); 65 extern void arch_fill_perf_breakpoint(struct perf_event *bp);
|
/linux-master/tools/perf/tests/ |
H A D | parse-no-sample-id-all.c | 13 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/kernel/ |
H A D | watchdog_perf.c | 21 #include <linux/perf_event.h> 23 static DEFINE_PER_CPU(struct perf_event *, watchdog_ev); 24 static DEFINE_PER_CPU(struct perf_event *, dead_event); 94 static void watchdog_overflow_callback(struct perf_event *event, 111 struct perf_event *evt; 160 struct perf_event *event = this_cpu_read(watchdog_ev); 183 struct perf_event *event = per_cpu(dead_event, cpu); 208 struct perf_event *event = per_cpu(watchdog_ev, cpu); 230 struct perf_event *event = per_cpu(watchdog_ev, cpu);
|
/linux-master/arch/powerpc/include/asm/ |
H A D | hw_breakpoint.h | 72 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 D | perf_event.h | 11 #include <linux/perf_event.h>
|
/linux-master/arch/xtensa/kernel/ |
H A D | hw_breakpoint.c | 14 #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...] |