Home
last modified time | relevance | path

Searched refs:tp_event (Results 1 – 17 of 17) sorted by relevance

/linux-6.1.9/kernel/trace/
Dtrace_event_perf.c27 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 …]
Dtrace_eprobe.c859 struct trace_event_call *tp_event; in find_and_get_event() local
862 list_for_each_entry(tp_event, &ftrace_events, list) { in find_and_get_event()
864 if (tp_event->flags & in find_and_get_event()
870 if (!tp_event->class->system || in find_and_get_event()
871 strcmp(system, tp_event->class->system)) in find_and_get_event()
873 name = trace_event_name(tp_event); in find_and_get_event()
876 if (!trace_event_try_get_ref(tp_event)) { in find_and_get_event()
880 return tp_event; in find_and_get_event()
Dtrace_probe.c1078 struct trace_event_call *tp_event; in find_trace_event_call() local
1081 list_for_each_entry(tp_event, &ftrace_events, list) { in find_trace_event_call()
1082 if (!tp_event->class->system || in find_trace_event_call()
1083 strcmp(system, tp_event->class->system)) in find_trace_event_call()
1085 name = trace_event_name(tp_event); in find_trace_event_call()
1088 return tp_event; in find_trace_event_call()
Dbpf_trace.c2119 (!trace_kprobe_on_func_entry(event->tp_event) || in perf_event_attach_bpf_prog()
2120 !trace_kprobe_error_injectable(event->tp_event))) in perf_event_attach_bpf_prog()
2128 old_array = bpf_event_rcu_dereference(event->tp_event->prog_array); in perf_event_attach_bpf_prog()
2142 rcu_assign_pointer(event->tp_event->prog_array, new_array); in perf_event_attach_bpf_prog()
2161 old_array = bpf_event_rcu_dereference(event->tp_event->prog_array); in perf_event_detach_bpf_prog()
2168 rcu_assign_pointer(event->tp_event->prog_array, new_array); in perf_event_detach_bpf_prog()
2208 progs = bpf_event_rcu_dereference(event->tp_event->prog_array); in perf_event_query_prog_array()
2350 flags = event->tp_event->flags; in bpf_get_perf_event_info()
2352 is_syscall_tp = is_syscall_trace_event(event->tp_event); in bpf_get_perf_event_info()
2355 *buf = is_tracepoint ? event->tp_event->tp->name in bpf_get_perf_event_info()
[all …]
Dtrace_uprobe.c1422 const char *pevent = trace_event_name(event->tp_event); in bpf_get_uprobe_info()
1423 const char *group = event->tp_event->class->system; in bpf_get_uprobe_info()
1429 tu = trace_uprobe_primary_from_call(event->tp_event); in bpf_get_uprobe_info()
Dtrace_kprobe.c1596 const char *pevent = trace_event_name(event->tp_event); in bpf_get_kprobe_info()
1597 const char *group = event->tp_event->class->system; in bpf_get_kprobe_info()
1603 tk = trace_kprobe_primary_from_call(event->tp_event); in bpf_get_kprobe_info()
Dtrace_events_filter.c2262 call = event->tp_event; in ftrace_profile_set_filter()
/linux-6.1.9/drivers/edac/
Dskx_common.c537 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()
622 edac_mc_handle_error(tp_event, mci, core_err_cnt, in skx_mce_output_error()
Di5400_edac.c525 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()
Di7core_edac.c1699 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()
Dpnd2_edac.c1124 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()
Dsb_edac.c3081 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.1.9/include/linux/
Dsyscalls.h194 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
Dtrace_events.h672 static int perf_perm_##name(struct trace_event_call *tp_event, \
Dperf_event.h797 struct trace_event_call *tp_event; member
/linux-6.1.9/sound/soc/codecs/
Dwm8962.c1843 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.1.9/kernel/events/
Dcore.c10256 is_kprobe = event->tp_event->flags & TRACE_EVENT_FL_KPROBE; in perf_event_set_bpf_prog()
10257 is_uprobe = event->tp_event->flags & TRACE_EVENT_FL_UPROBE; in perf_event_set_bpf_prog()
10258 is_tracepoint = event->tp_event->flags & TRACE_EVENT_FL_TRACEPOINT; in perf_event_set_bpf_prog()
10259 is_syscall_tp = is_syscall_trace_event(event->tp_event); in perf_event_set_bpf_prog()
10278 int off = trace_event_get_offsets(event->tp_event); in perf_event_set_bpf_prog()