/linux-6.3-rc2/include/linux/ |
A D | hw_breakpoint.h | 47 extern struct perf_event * 63 extern struct perf_event * 69 extern struct perf_event * __percpu * 81 extern int reserve_bp_slot(struct perf_event *bp); 82 extern void release_bp_slot(struct perf_event *bp); 83 int arch_reserve_bp_slot(struct perf_event *bp); 84 void arch_release_bp_slot(struct perf_event *bp); 98 static inline struct perf_event * 104 modify_user_hw_breakpoint(struct perf_event *bp, in modify_user_hw_breakpoint() 110 static inline struct perf_event * [all …]
|
A D | perf_event.h | 273 struct perf_event; 668 struct perf_event { struct 755 struct perf_event *parent; argument 795 struct perf_event *aux_event; argument 993 struct perf_event **heap; 998 struct perf_event *event; 1013 struct perf_event *event; 1090 extern struct perf_event * 1254 struct perf_event *event) in perf_sample_data_size() 1286 struct perf_event *event, [all …]
|
A D | trace_events.h | 384 struct perf_event *); 674 struct perf_event *p_event) \ 742 void perf_event_detach_bpf_prog(struct perf_event *event); 843 struct perf_event; 848 extern int perf_trace_init(struct perf_event *event); 849 extern void perf_trace_destroy(struct perf_event *event); 854 extern void perf_kprobe_destroy(struct perf_event *event); 855 extern int bpf_get_kprobe_info(const struct perf_event *event, 861 extern int perf_uprobe_init(struct perf_event *event, 863 extern void perf_uprobe_destroy(struct perf_event *event); [all …]
|
/linux-6.3-rc2/tools/perf/util/ |
A D | event.h | 270 union perf_event *event, 274 union perf_event *event, 282 union perf_event *event, 290 union perf_event *event, 298 union perf_event *event, 306 union perf_event *event, 310 union perf_event *event, 322 union perf_event *event, 326 union perf_event *event, 330 union perf_event *event, [all …]
|
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,
|
A D | machine.h | 20 union perf_event; 121 int machine__process_comm_event(struct machine *machine, union perf_event *event, 132 union perf_event *event); 134 union perf_event *event); 136 union perf_event *event); 138 union perf_event *event); 140 union perf_event *event, 143 union perf_event *event, 150 union perf_event *event, 153 union perf_event *event, [all …]
|
A D | event.c | 195 union perf_event *event, in perf_event__process_comm() 203 union perf_event *event, in perf_event__process_namespaces() 219 union perf_event *event, in perf_event__process_lost() 227 union perf_event *event, in perf_event__process_aux() 243 union perf_event *event, in perf_event__process_aux_output_hw_id() 267 union perf_event *event, in perf_event__process_ksymbol() 275 union perf_event *event, in perf_event__process_bpf() 283 union perf_event *event, in perf_event__process_text_poke() 366 union perf_event *event, in perf_event__process_mmap() 374 union perf_event *event, in perf_event__process_mmap2() [all …]
|
/linux-6.3-rc2/include/linux/perf/ |
A D | riscv_pmu.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); 57 int (*event_map)(struct perf_event *event, u64 *config); 66 void riscv_pmu_start(struct perf_event *event, int flags); 67 void riscv_pmu_stop(struct perf_event *event, int flags); 69 int riscv_pmu_event_set_period(struct perf_event *event); 70 uint64_t riscv_pmu_ctr_get_width_mask(struct perf_event *event); [all …]
|
A D | arm_pmu.h | 52 struct perf_event *events[ARMPMU_MAX_HWEVENTS]; 89 void (*enable)(struct perf_event *event); 90 void (*disable)(struct perf_event *event); 92 struct perf_event *event); 94 struct perf_event *event); 97 u64 (*read_counter)(struct perf_event *event); 98 void (*write_counter)(struct perf_event *event, u64 val); 102 int (*map_event)(struct perf_event *event); 124 u64 armpmu_event_update(struct perf_event *event); 126 int armpmu_event_set_period(struct perf_event *event); [all …]
|
/linux-6.3-rc2/drivers/perf/hisilicon/ |
A D | hisi_uncore_pmu.h | 50 int (*get_event_idx)(struct perf_event *); 61 void (*enable_filter)(struct perf_event *event); 62 void (*disable_filter)(struct perf_event *event); 66 struct perf_event *hw_events[HISI_MAX_COUNTERS]; 98 int hisi_uncore_pmu_get_event_idx(struct perf_event *event); 99 void hisi_uncore_pmu_read(struct perf_event *event); 100 int hisi_uncore_pmu_add(struct perf_event *event, int flags); 101 void hisi_uncore_pmu_del(struct perf_event *event, int flags); 103 void hisi_uncore_pmu_stop(struct perf_event *event, int flags); 105 void hisi_uncore_pmu_event_update(struct perf_event *event); [all …]
|
/linux-6.3-rc2/kernel/events/ |
A D | hw_breakpoint.c | 325 struct perf_event *iter; in task_bp_pinned() 526 __weak int arch_reserve_bp_slot(struct perf_event *bp) in arch_reserve_bp_slot() 623 int reserve_bp_slot(struct perf_event *bp) in reserve_bp_slot() 644 void release_bp_slot(struct perf_event *bp) in release_bp_slot() 689 int dbg_reserve_bp_slot(struct perf_event *bp) in dbg_reserve_bp_slot() 704 int dbg_release_bp_slot(struct perf_event *bp) in dbg_release_bp_slot() 717 static int hw_breakpoint_parse(struct perf_event *bp, in hw_breakpoint_parse() 768 struct perf_event * 853 void unregister_hw_breakpoint(struct perf_event *bp) in unregister_hw_breakpoint() 869 struct perf_event * __percpu * [all …]
|
A D | core.c | 212 struct perf_event *event; 1711 static struct perf_event * 1729 static struct perf_event * 2010 perf_aux_output_match(struct perf_event *event, struct perf_event *aux_event) in perf_aux_output_match() 2028 struct perf_event *iter; in perf_put_aux_event() 3644 const struct perf_event *le = *(const struct perf_event **)l; in perf_less_group_idx() 3645 const struct perf_event *re = *(const struct perf_event **)r; in perf_less_group_idx() 3698 struct perf_event **evt; in visit_groups_merge() 5109 static bool exclusive_event_match(struct perf_event *e1, struct perf_event *e2) in exclusive_event_match() 5443 struct perf_event *sub; in __perf_read_group_add() [all …]
|
/linux-6.3-rc2/arch/x86/events/ |
A D | perf_event.h | 116 struct perf_event *owners[X86_PMC_IDX_MAX]; 748 void (*enable)(struct perf_event *); 749 void (*disable)(struct perf_event *); 751 void (*add)(struct perf_event *); 752 void (*del)(struct perf_event *); 753 void (*read)(struct perf_event *event); 755 u64 (*update)(struct perf_event *event); 756 int (*hw_config)(struct perf_event *event); 778 struct perf_event *event); 781 struct perf_event *event); [all …]
|
/linux-6.3-rc2/arch/x86/events/intel/ |
A D | uncore.h | 117 struct perf_event *); 376 struct perf_event *event) in uncore_freerunning_counter() 463 struct perf_event *event) in uncore_freerunning_bits() 471 struct perf_event *event) in uncore_num_freerunning() 479 struct perf_event *event) in uncore_num_freerunning_types() 485 struct perf_event *event) in check_valid_freerunning_event() 509 struct perf_event *event) in uncore_freerunning_hw_config() 518 struct perf_event *event) in uncore_disable_event() 524 struct perf_event *event) in uncore_enable_event() 530 struct perf_event *event) in uncore_read_counter() [all …]
|
/linux-6.3-rc2/arch/powerpc/kernel/ |
A D | hw_breakpoint.c | 69 struct perf_event **slot; in arch_install_hw_breakpoint() 105 struct perf_event **slot; in arch_uninstall_hw_breakpoint() 122 static bool is_ptrace_bp(struct perf_event *bp) in is_ptrace_bp() 129 struct perf_event *bp; 155 static bool bp_addr_range_overlap(struct perf_event *bp1, struct perf_event *bp2) in bp_addr_range_overlap() 177 static int task_bps_add(struct perf_event *bp) in task_bps_add() 249 static int cpu_bps_add(struct perf_event *bp) in cpu_bps_add() 320 int arch_reserve_bp_slot(struct perf_event *bp) in arch_reserve_bp_slot() 364 void arch_release_bp_slot(struct perf_event *bp) in arch_release_bp_slot() 765 struct perf_event *bp = NULL; in single_step_dabr_instruction() [all …]
|
/linux-6.3-rc2/arch/xtensa/kernel/ |
A D | hw_breakpoint.c | 50 int hw_breakpoint_arch_parse(struct perf_event *bp, in hw_breakpoint_arch_parse() 133 static int alloc_slot(struct perf_event **slot, size_t n, in alloc_slot() 134 struct perf_event *bp) in alloc_slot() 171 int arch_install_hw_breakpoint(struct perf_event *bp) in arch_install_hw_breakpoint() 192 static int free_slot(struct perf_event **slot, size_t n, in free_slot() 193 struct perf_event *bp) in free_slot() 206 void arch_uninstall_hw_breakpoint(struct perf_event *bp) in arch_uninstall_hw_breakpoint() 229 void hw_breakpoint_pmu_read(struct perf_event *bp) in hw_breakpoint_pmu_read() 268 struct perf_event *bp = this_cpu_ptr(wp_on_reg)[i]; in restore_dbreak() 280 struct perf_event **bp = this_cpu_ptr(bp_on_reg); in check_hw_breakpoint() [all …]
|
/linux-6.3-rc2/arch/x86/include/asm/ |
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);
|
/linux-6.3-rc2/kernel/trace/ |
A D | trace_event_perf.c | 28 struct perf_event *p_event) in perf_trace_event_perm() 97 struct perf_event *p_event) in perf_trace_event_reg() 194 struct perf_event *p_event) in perf_trace_event_init() 215 int perf_trace_init(struct perf_event *p_event) in perf_trace_init() 237 void perf_trace_destroy(struct perf_event *p_event) in perf_trace_destroy() 285 void perf_kprobe_destroy(struct perf_event *p_event) in perf_kprobe_destroy() 298 int perf_uprobe_init(struct perf_event *p_event, in perf_uprobe_init() 341 void perf_uprobe_destroy(struct perf_event *p_event) in perf_uprobe_destroy() 352 int perf_trace_add(struct perf_event *p_event, int flags) in perf_trace_add() 433 struct perf_event *event; in perf_ftrace_function_call() [all …]
|
/linux-6.3-rc2/arch/sh/include/asm/ |
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-6.3-rc2/drivers/perf/ |
A D | qcom_l3_pmu.c | 136 static inline u32 get_event_type(struct perf_event *event) in get_event_type() 146 static inline int event_num_counters(struct perf_event *event) in event_num_counters() 158 struct perf_event *events[L3_NUM_COUNTERS]; 175 void (*start)(struct perf_event *event); 177 void (*stop)(struct perf_event *event, int flags); 179 void (*update)(struct perf_event *event); 402 struct perf_event *event; in qcom_l3_cache__handle_irq() 453 struct perf_event *leader = event->group_leader; in qcom_l3_cache__validate_event_group() 454 struct perf_event *sibling; in qcom_l3_cache__validate_event_group() 478 static int qcom_l3_cache__event_init(struct perf_event *event) in qcom_l3_cache__event_init() [all …]
|
/linux-6.3-rc2/tools/perf/tests/ |
A D | parse-no-sample-id-all.c | 13 static int process_event(struct evlist **pevlist, union perf_event *event) in process_event() 39 static int process_events(union perf_event **events, size_t count) in process_events() 96 union perf_event *events[] = { in test__parse_no_sample_id_all() 97 (union perf_event *)&event1, in test__parse_no_sample_id_all() 98 (union perf_event *)&event2, in test__parse_no_sample_id_all() 99 (union perf_event *)&event3, in test__parse_no_sample_id_all()
|
/linux-6.3-rc2/kernel/ |
A D | watchdog_hld.c | 25 static DEFINE_PER_CPU(struct perf_event *, watchdog_ev); 26 static DEFINE_PER_CPU(struct perf_event *, dead_event); 110 static void watchdog_overflow_callback(struct perf_event *event, in watchdog_overflow_callback() 170 struct perf_event *evt; in hardlockup_detector_event_create() 207 struct perf_event *event = this_cpu_read(watchdog_ev); in hardlockup_detector_perf_disable() 228 struct perf_event *event = per_cpu(dead_event, cpu); in hardlockup_detector_perf_cleanup() 253 struct perf_event *event = per_cpu(watchdog_ev, cpu); in hardlockup_detector_perf_stop() 275 struct perf_event *event = per_cpu(watchdog_ev, cpu); in hardlockup_detector_perf_restart()
|
/linux-6.3-rc2/arch/xtensa/include/asm/ |
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-6.3-rc2/arch/alpha/kernel/ |
A D | perf_event.c | 41 struct perf_event *event[MAX_HWEVENTS]; 152 static int ev67_check_constraints(struct perf_event **event, in ev67_check_constraints() 341 struct perf_event *event[], unsigned long *evtype, in collect_events() 344 struct perf_event *pe; in collect_events() 400 struct perf_event *pe = cpuc->event[j]; in maybe_change_configuration() 412 struct perf_event *pe = cpuc->event[j]; in maybe_change_configuration() 524 static void alpha_pmu_read(struct perf_event *event) in alpha_pmu_read() 602 static int __hw_perf_event_init(struct perf_event *event) in __hw_perf_event_init() 606 struct perf_event *evts[MAX_HWEVENTS]; in __hw_perf_event_init() 690 static int alpha_pmu_event_init(struct perf_event *event) in alpha_pmu_event_init() [all …]
|
/linux-6.3-rc2/arch/powerpc/include/asm/ |
A D | hw_breakpoint.h | 71 struct perf_event; 79 extern int hw_breakpoint_arch_parse(struct perf_event *bp, 84 int arch_install_hw_breakpoint(struct perf_event *bp); 85 void arch_uninstall_hw_breakpoint(struct perf_event *bp); 86 void hw_breakpoint_pmu_read(struct perf_event *bp); 90 extern void ptrace_triggered(struct perf_event *bp,
|