Searched refs:perf_event (Results 1 – 12 of 12) sorted by relevance
/kernel/events/ |
D | hw_breakpoint.c | 71 __weak int hw_breakpoint_weight(struct perf_event *bp) in hw_breakpoint_weight() 105 static int task_bp_pinned(int cpu, struct perf_event *bp, enum bp_type_idx type) in task_bp_pinned() 108 struct perf_event *iter; in task_bp_pinned() 121 static const struct cpumask *cpumask_of_bp(struct perf_event *bp) in cpumask_of_bp() 133 fetch_bp_busy_slots(struct bp_busy_slots *slots, struct perf_event *bp, in fetch_bp_busy_slots() 172 static void toggle_bp_task_slot(struct perf_event *bp, int cpu, in toggle_bp_task_slot() 191 toggle_bp_slot(struct perf_event *bp, bool enable, enum bp_type_idx type, in toggle_bp_slot() 219 __weak void arch_unregister_hw_breakpoint(struct perf_event *bp) in arch_unregister_hw_breakpoint() 268 static int __reserve_bp_slot(struct perf_event *bp, u64 bp_type) in __reserve_bp_slot() 302 int reserve_bp_slot(struct perf_event *bp) in reserve_bp_slot() [all …]
|
D | core.c | 169 static bool is_kernel_event(struct perf_event *event) in is_kernel_event() 193 typedef void (*event_f)(struct perf_event *, struct perf_cpu_context *, 197 struct perf_event *event; 205 struct perf_event *event = efs->event; in event_function() 248 static void event_function_call(struct perf_event *event, event_f func, void *data) in event_function_call() 301 static void event_function_local(struct perf_event *event, event_f func, void *data) in event_function_local() 567 static u64 perf_event_time(struct perf_event *event); 581 static inline u64 perf_event_clock(struct perf_event *event) in perf_event_clock() 609 __perf_effective_state(struct perf_event *event) in __perf_effective_state() 611 struct perf_event *leader = event->group_leader; in __perf_effective_state() [all …]
|
D | internal.h | 80 extern void perf_event_wakeup(struct perf_event *event); 81 extern int rb_alloc_aux(struct ring_buffer *rb, struct perf_event *event, 84 extern struct ring_buffer *ring_buffer_get(struct perf_event *event); 92 void perf_event_aux_event(struct perf_event *event, unsigned long head,
|
D | ring_buffer.c | 150 struct perf_event *event, unsigned int size, in __perf_output_begin() 266 struct perf_event *event, unsigned int size) in perf_output_begin_forward() 272 struct perf_event *event, unsigned int size) in perf_output_begin_backward() 278 struct perf_event *event, unsigned int size) in perf_output_begin() 360 struct perf_event *event) in perf_aux_output_begin() 362 struct perf_event *output_event = event; in perf_aux_output_begin() 629 int rb_alloc_aux(struct ring_buffer *rb, struct perf_event *event, in rb_alloc_aux()
|
/kernel/trace/ |
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() 154 static void perf_trace_event_unreg(struct perf_event *p_event) in perf_trace_event_unreg() 183 static int perf_trace_event_open(struct perf_event *p_event) in perf_trace_event_open() 189 static void perf_trace_event_close(struct perf_event *p_event) in perf_trace_event_close() 196 struct perf_event *p_event) in perf_trace_event_init() 217 int perf_trace_init(struct perf_event *p_event) in perf_trace_init() 239 void perf_trace_destroy(struct perf_event *p_event) in perf_trace_destroy() 248 int perf_kprobe_init(struct perf_event *p_event, bool is_retprobe) in perf_kprobe_init() 290 void perf_kprobe_destroy(struct perf_event *p_event) in perf_kprobe_destroy() [all …]
|
D | trace_uprobe.c | 1203 struct perf_event *event; in __uprobe_perf_filter() 1218 struct perf_event *event) in trace_uprobe_filter_event() 1224 struct perf_event *event) in trace_uprobe_filter_remove() 1245 struct perf_event *event) in trace_uprobe_filter_add() 1273 struct perf_event *event) in uprobe_perf_close() 1298 struct perf_event *event) in uprobe_perf_open() 1412 int bpf_get_uprobe_info(const struct perf_event *event, u32 *fd_type, in bpf_get_uprobe_info()
|
D | bpf_trace.c | 427 struct perf_event *event; in __bpf_perf_event_output() 1194 int perf_event_attach_bpf_prog(struct perf_event *event, in perf_event_attach_bpf_prog() 1236 void perf_event_detach_bpf_prog(struct perf_event *event) in perf_event_detach_bpf_prog() 1265 int perf_event_query_prog_array(struct perf_event *event, void __user *info) in perf_event_query_prog_array() 1411 int bpf_get_perf_event_info(const struct perf_event *event, u32 *prog_id, in bpf_get_perf_event_info()
|
D | trace_events_filter.c | 1893 void ftrace_profile_free_filter(struct perf_event *event) in ftrace_profile_free_filter() 2025 static int ftrace_function_set_filter(struct perf_event *event, in ftrace_function_set_filter() 2049 static int ftrace_function_set_filter(struct perf_event *event, in ftrace_function_set_filter() 2056 int ftrace_profile_set_filter(struct perf_event *event, int event_id, in ftrace_profile_set_filter()
|
D | trace_kprobe.c | 1454 int bpf_get_kprobe_info(const struct perf_event *event, u32 *fd_type, in bpf_get_kprobe_info()
|
/kernel/ |
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()
|
/kernel/bpf/ |
D | arraymap.c | 675 struct perf_event *event; in perf_event_fd_array_get_ptr()
|
D | syscall.c | 2765 const struct perf_event *event; in bpf_task_fd_query()
|