/linux-5.19.10/kernel/trace/ |
D | trace_event_perf.c | 27 static int perf_trace_event_perm(struct trace_event_call *tp_event, in perf_trace_event_perm() argument 32 if (tp_event->perf_perm) { in perf_trace_event_perm() 33 ret = tp_event->perf_perm(tp_event, p_event); in perf_trace_event_perm() 51 if (ftrace_event_is_function(tp_event)) { in perf_trace_event_perm() 81 if (tp_event->flags & TRACE_EVENT_FL_CAP_ANY) in perf_trace_event_perm() 96 static int perf_trace_event_reg(struct trace_event_call *tp_event, in perf_trace_event_reg() argument 103 p_event->tp_event = tp_event; in perf_trace_event_reg() 104 if (tp_event->perf_refcount++ > 0) in perf_trace_event_reg() 114 tp_event->perf_events = list; in perf_trace_event_reg() 129 ret = tp_event->class->reg(tp_event, TRACE_REG_PERF_REGISTER, NULL); in perf_trace_event_reg() [all …]
|
D | trace_eprobe.c | 880 struct trace_event_call *tp_event; in find_and_get_event() local 883 list_for_each_entry(tp_event, &ftrace_events, list) { in find_and_get_event() 885 if (tp_event->flags & in find_and_get_event() 891 if (!tp_event->class->system || in find_and_get_event() 892 strcmp(system, tp_event->class->system)) in find_and_get_event() 894 name = trace_event_name(tp_event); in find_and_get_event() 897 if (!trace_event_try_get_ref(tp_event)) { in find_and_get_event() 901 return tp_event; in find_and_get_event()
|
D | trace_probe.c | 1074 struct trace_event_call *tp_event; in find_trace_event_call() local 1077 list_for_each_entry(tp_event, &ftrace_events, list) { in find_trace_event_call() 1078 if (!tp_event->class->system || in find_trace_event_call() 1079 strcmp(system, tp_event->class->system)) in find_trace_event_call() 1081 name = trace_event_name(tp_event); in find_trace_event_call() 1084 return tp_event; in find_trace_event_call()
|
D | bpf_trace.c | 1915 (!trace_kprobe_on_func_entry(event->tp_event) || in perf_event_attach_bpf_prog() 1916 !trace_kprobe_error_injectable(event->tp_event))) in perf_event_attach_bpf_prog() 1924 old_array = bpf_event_rcu_dereference(event->tp_event->prog_array); in perf_event_attach_bpf_prog() 1938 rcu_assign_pointer(event->tp_event->prog_array, new_array); in perf_event_attach_bpf_prog() 1957 old_array = bpf_event_rcu_dereference(event->tp_event->prog_array); in perf_event_detach_bpf_prog() 1964 rcu_assign_pointer(event->tp_event->prog_array, new_array); in perf_event_detach_bpf_prog() 2004 progs = bpf_event_rcu_dereference(event->tp_event->prog_array); in perf_event_query_prog_array() 2140 flags = event->tp_event->flags; in bpf_get_perf_event_info() 2142 is_syscall_tp = is_syscall_trace_event(event->tp_event); in bpf_get_perf_event_info() 2145 *buf = is_tracepoint ? event->tp_event->tp->name in bpf_get_perf_event_info() [all …]
|
D | trace_uprobe.c | 1417 const char *pevent = trace_event_name(event->tp_event); in bpf_get_uprobe_info() 1418 const char *group = event->tp_event->class->system; in bpf_get_uprobe_info() 1424 tu = trace_uprobe_primary_from_call(event->tp_event); in bpf_get_uprobe_info()
|
D | trace_kprobe.c | 1642 const char *pevent = trace_event_name(event->tp_event); in bpf_get_kprobe_info() 1643 const char *group = event->tp_event->class->system; in bpf_get_kprobe_info() 1649 tk = trace_kprobe_primary_from_call(event->tp_event); in bpf_get_kprobe_info()
|
D | trace_events_filter.c | 2165 call = event->tp_event; in ftrace_profile_set_filter()
|
/linux-5.19.10/drivers/edac/ |
D | skx_common.c | 530 enum hw_event_mc_err_type tp_event; in skx_mce_output_error() local 548 tp_event = HW_EVENT_ERR_UNCORRECTED; in skx_mce_output_error() 550 tp_event = HW_EVENT_ERR_FATAL; in skx_mce_output_error() 553 tp_event = HW_EVENT_ERR_CORRECTED; in skx_mce_output_error() 615 edac_mc_handle_error(tp_event, mci, core_err_cnt, in skx_mce_output_error()
|
D | i5400_edac.c | 525 enum hw_event_mc_err_type tp_event = HW_EVENT_ERR_UNCORRECTED; in i5400_proccess_non_recoverable_info() local 532 tp_event = HW_EVENT_ERR_FATAL; in i5400_proccess_non_recoverable_info() 563 edac_mc_handle_error(tp_event, mci, 1, 0, 0, 0, in i5400_proccess_non_recoverable_info()
|
D | i7core_edac.c | 1699 enum hw_event_mc_err_type tp_event; in i7core_mce_output_error() local 1713 tp_event = HW_EVENT_ERR_UNCORRECTED; in i7core_mce_output_error() 1715 tp_event = HW_EVENT_ERR_FATAL; in i7core_mce_output_error() 1717 tp_event = HW_EVENT_ERR_CORRECTED; in i7core_mce_output_error() 1779 edac_mc_handle_error(tp_event, mci, core_err_cnt, in i7core_mce_output_error()
|
D | sb_edac.c | 2952 enum hw_event_mc_err_type tp_event; in sbridge_mce_output_error() local 2982 tp_event = HW_EVENT_ERR_UNCORRECTED; in sbridge_mce_output_error() 2984 tp_event = HW_EVENT_ERR_FATAL; in sbridge_mce_output_error() 2987 tp_event = HW_EVENT_ERR_CORRECTED; in sbridge_mce_output_error() 3048 edac_mc_handle_error(tp_event, mci, core_err_cnt, in sbridge_mce_output_error() 3111 edac_mc_handle_error(tp_event, mci, core_err_cnt, in sbridge_mce_output_error() 3117 edac_mc_handle_error(tp_event, mci, core_err_cnt, 0, 0, 0, in sbridge_mce_output_error()
|
D | pnd2_edac.c | 1146 enum hw_event_mc_err_type tp_event; in pnd2_mce_output_error() local 1158 tp_event = uc_err ? (ripv ? HW_EVENT_ERR_UNCORRECTED : HW_EVENT_ERR_FATAL) : in pnd2_mce_output_error() 1213 edac_mc_handle_error(tp_event, mci, core_err_cnt, m->addr >> PAGE_SHIFT, in pnd2_mce_output_error() 1219 edac_mc_handle_error(tp_event, mci, core_err_cnt, 0, 0, 0, -1, -1, -1, msg, ""); in pnd2_mce_output_error()
|
/linux-5.19.10/include/linux/ |
D | syscalls.h | 194 static inline int is_syscall_trace_event(struct trace_event_call *tp_event) in is_syscall_trace_event() argument 196 return tp_event->class == &event_class_syscall_enter || in is_syscall_trace_event() 197 tp_event->class == &event_class_syscall_exit; in is_syscall_trace_event() 203 static inline int is_syscall_trace_event(struct trace_event_call *tp_event) in is_syscall_trace_event() argument
|
D | trace_events.h | 671 static int perf_perm_##name(struct trace_event_call *tp_event, \
|
D | perf_event.h | 772 struct trace_event_call *tp_event; member
|
/linux-5.19.10/kernel/events/ |
D | core.c | 10076 is_kprobe = event->tp_event->flags & TRACE_EVENT_FL_UKPROBE; in perf_event_set_bpf_prog() 10077 is_tracepoint = event->tp_event->flags & TRACE_EVENT_FL_TRACEPOINT; in perf_event_set_bpf_prog() 10078 is_syscall_tp = is_syscall_trace_event(event->tp_event); in perf_event_set_bpf_prog() 10090 !(event->tp_event->flags & TRACE_EVENT_FL_KPROBE)) in perf_event_set_bpf_prog() 10094 int off = trace_event_get_offsets(event->tp_event); in perf_event_set_bpf_prog()
|