/linux-6.6.21/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 | 774 struct trace_event_call *tp_event; in find_and_get_event() local 777 list_for_each_entry(tp_event, &ftrace_events, list) { in find_and_get_event() 779 if (tp_event->flags & in find_and_get_event() 785 if (!tp_event->class->system || in find_and_get_event() 786 strcmp(system, tp_event->class->system)) in find_and_get_event() 788 name = trace_event_name(tp_event); in find_and_get_event() 791 if (!trace_event_try_get_ref(tp_event)) { in find_and_get_event() 795 return tp_event; in find_and_get_event()
|
D | bpf_trace.c | 2174 (!trace_kprobe_on_func_entry(event->tp_event) || in perf_event_attach_bpf_prog() 2175 !trace_kprobe_error_injectable(event->tp_event))) in perf_event_attach_bpf_prog() 2183 old_array = bpf_event_rcu_dereference(event->tp_event->prog_array); in perf_event_attach_bpf_prog() 2197 rcu_assign_pointer(event->tp_event->prog_array, new_array); in perf_event_attach_bpf_prog() 2216 old_array = bpf_event_rcu_dereference(event->tp_event->prog_array); in perf_event_detach_bpf_prog() 2223 rcu_assign_pointer(event->tp_event->prog_array, new_array); in perf_event_detach_bpf_prog() 2263 progs = bpf_event_rcu_dereference(event->tp_event->prog_array); in perf_event_query_prog_array() 2405 flags = event->tp_event->flags; in bpf_get_perf_event_info() 2407 is_syscall_tp = is_syscall_trace_event(event->tp_event); in bpf_get_perf_event_info() 2410 *buf = is_tracepoint ? event->tp_event->tp->name in bpf_get_perf_event_info() [all …]
|
D | trace_probe.c | 1815 struct trace_event_call *tp_event; in find_trace_event_call() local 1818 list_for_each_entry(tp_event, &ftrace_events, list) { in find_trace_event_call() 1819 if (!tp_event->class->system || in find_trace_event_call() 1820 strcmp(system, tp_event->class->system)) in find_trace_event_call() 1822 name = trace_event_name(tp_event); in find_trace_event_call() 1825 return tp_event; in find_trace_event_call()
|
D | trace_uprobe.c | 1419 const char *pevent = trace_event_name(event->tp_event); in bpf_get_uprobe_info() 1420 const char *group = event->tp_event->class->system; in bpf_get_uprobe_info() 1426 tu = trace_uprobe_primary_from_call(event->tp_event); in bpf_get_uprobe_info()
|
D | trace_kprobe.c | 1612 const char *pevent = trace_event_name(event->tp_event); in bpf_get_kprobe_info() 1613 const char *group = event->tp_event->class->system; in bpf_get_kprobe_info() 1619 tk = trace_kprobe_primary_from_call(event->tp_event); in bpf_get_kprobe_info()
|
D | trace_events_filter.c | 2617 call = event->tp_event; in ftrace_profile_set_filter()
|
/linux-6.6.21/drivers/edac/ |
D | skx_common.c | 537 enum hw_event_mc_err_type tp_event; in skx_mce_output_error() local 555 tp_event = HW_EVENT_ERR_UNCORRECTED; in skx_mce_output_error() 557 tp_event = HW_EVENT_ERR_FATAL; in skx_mce_output_error() 560 tp_event = HW_EVENT_ERR_CORRECTED; in skx_mce_output_error() 606 edac_mc_handle_error(tp_event, mci, core_err_cnt, in skx_mce_output_error()
|
D | i5400_edac.c | 526 enum hw_event_mc_err_type tp_event = HW_EVENT_ERR_UNCORRECTED; in i5400_proccess_non_recoverable_info() local 533 tp_event = HW_EVENT_ERR_FATAL; in i5400_proccess_non_recoverable_info() 564 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 | pnd2_edac.c | 1124 enum hw_event_mc_err_type tp_event; in pnd2_mce_output_error() local 1136 tp_event = uc_err ? (ripv ? HW_EVENT_ERR_UNCORRECTED : HW_EVENT_ERR_FATAL) : in pnd2_mce_output_error() 1191 edac_mc_handle_error(tp_event, mci, core_err_cnt, m->addr >> PAGE_SHIFT, in pnd2_mce_output_error() 1197 edac_mc_handle_error(tp_event, mci, core_err_cnt, 0, 0, 0, -1, -1, -1, msg, ""); in pnd2_mce_output_error()
|
D | sb_edac.c | 3081 enum hw_event_mc_err_type tp_event; in sbridge_mce_output_error() local 3111 tp_event = HW_EVENT_ERR_UNCORRECTED; in sbridge_mce_output_error() 3113 tp_event = HW_EVENT_ERR_FATAL; in sbridge_mce_output_error() 3116 tp_event = HW_EVENT_ERR_CORRECTED; in sbridge_mce_output_error() 3177 edac_mc_handle_error(tp_event, mci, core_err_cnt, in sbridge_mce_output_error() 3239 edac_mc_handle_error(tp_event, mci, core_err_cnt, in sbridge_mce_output_error() 3245 edac_mc_handle_error(tp_event, mci, core_err_cnt, 0, 0, 0, in sbridge_mce_output_error()
|
/linux-6.6.21/include/linux/ |
D | syscalls.h | 197 static inline int is_syscall_trace_event(struct trace_event_call *tp_event) in is_syscall_trace_event() argument 199 return tp_event->class == &event_class_syscall_enter || in is_syscall_trace_event() 200 tp_event->class == &event_class_syscall_exit; in is_syscall_trace_event() 206 static inline int is_syscall_trace_event(struct trace_event_call *tp_event) in is_syscall_trace_event() argument
|
D | trace_events.h | 691 static int perf_perm_##name(struct trace_event_call *tp_event, \
|
D | perf_event.h | 819 struct trace_event_call *tp_event; member
|
/linux-6.6.21/sound/soc/codecs/ |
D | wm8962.c | 1843 static int tp_event(struct snd_soc_dapm_widget *w, in tp_event() function 2186 SND_SOC_DAPM_SUPPLY("TEMP_HP", SND_SOC_NOPM, 0, 0, tp_event, 2188 SND_SOC_DAPM_SUPPLY("TEMP_SPK", SND_SOC_NOPM, 0, 0, tp_event,
|
/linux-6.6.21/kernel/events/ |
D | core.c | 10527 is_kprobe = event->tp_event->flags & TRACE_EVENT_FL_KPROBE; in perf_event_set_bpf_prog() 10528 is_uprobe = event->tp_event->flags & TRACE_EVENT_FL_UPROBE; in perf_event_set_bpf_prog() 10529 is_tracepoint = event->tp_event->flags & TRACE_EVENT_FL_TRACEPOINT; in perf_event_set_bpf_prog() 10530 is_syscall_tp = is_syscall_trace_event(event->tp_event); in perf_event_set_bpf_prog() 10549 int off = trace_event_get_offsets(event->tp_event); in perf_event_set_bpf_prog()
|
/linux-6.6.21/kernel/bpf/ |
D | syscall.c | 3501 if (event->tp_event->flags & TRACE_EVENT_FL_KPROBE) in bpf_perf_link_fill_probe() 3505 if (event->tp_event->flags & TRACE_EVENT_FL_UPROBE) in bpf_perf_link_fill_probe()
|