Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 …]
Dbpf_trace.c1913 (!trace_kprobe_on_func_entry(event->tp_event) || in perf_event_attach_bpf_prog()
1914 !trace_kprobe_error_injectable(event->tp_event))) in perf_event_attach_bpf_prog()
1922 old_array = bpf_event_rcu_dereference(event->tp_event->prog_array); in perf_event_attach_bpf_prog()
1935 rcu_assign_pointer(event->tp_event->prog_array, new_array); in perf_event_attach_bpf_prog()
1954 old_array = bpf_event_rcu_dereference(event->tp_event->prog_array); in perf_event_detach_bpf_prog()
1961 rcu_assign_pointer(event->tp_event->prog_array, new_array); in perf_event_detach_bpf_prog()
2001 progs = bpf_event_rcu_dereference(event->tp_event->prog_array); in perf_event_query_prog_array()
2137 flags = event->tp_event->flags; in bpf_get_perf_event_info()
2139 is_syscall_tp = is_syscall_trace_event(event->tp_event); in bpf_get_perf_event_info()
2142 *buf = is_tracepoint ? event->tp_event->tp->name in bpf_get_perf_event_info()
[all …]
Dtrace_probe.c1036 struct trace_event_call *tp_event; in find_trace_event_call() local
1039 list_for_each_entry(tp_event, &ftrace_events, list) { in find_trace_event_call()
1040 if (!tp_event->class->system || in find_trace_event_call()
1041 strcmp(system, tp_event->class->system)) in find_trace_event_call()
1043 name = trace_event_name(tp_event); in find_trace_event_call()
1046 return tp_event; in find_trace_event_call()
Dtrace_uprobe.c1426 const char *pevent = trace_event_name(event->tp_event); in bpf_get_uprobe_info()
1427 const char *group = event->tp_event->class->system; in bpf_get_uprobe_info()
1433 tu = trace_uprobe_primary_from_call(event->tp_event); in bpf_get_uprobe_info()
Dtrace_kprobe.c1666 const char *pevent = trace_event_name(event->tp_event); in bpf_get_kprobe_info()
1667 const char *group = event->tp_event->class->system; in bpf_get_kprobe_info()
1673 tk = trace_kprobe_primary_from_call(event->tp_event); in bpf_get_kprobe_info()
Dtrace_events_filter.c2158 call = event->tp_event; in ftrace_profile_set_filter()
/kernel/linux/linux-5.10/drivers/edac/
Dskx_common.c479 enum hw_event_mc_err_type tp_event; in skx_mce_output_error() local
496 tp_event = HW_EVENT_ERR_UNCORRECTED; in skx_mce_output_error()
498 tp_event = HW_EVENT_ERR_FATAL; in skx_mce_output_error()
501 tp_event = HW_EVENT_ERR_CORRECTED; in skx_mce_output_error()
562 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()
Dsb_edac.c2952 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()
Dpnd2_edac.c1146 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()
/kernel/linux/linux-5.10/include/linux/
Dsyscalls.h190 static inline int is_syscall_trace_event(struct trace_event_call *tp_event) in is_syscall_trace_event() argument
192 return tp_event->class == &event_class_syscall_enter || in is_syscall_trace_event()
193 tp_event->class == &event_class_syscall_exit; in is_syscall_trace_event()
199 static inline int is_syscall_trace_event(struct trace_event_call *tp_event) in is_syscall_trace_event() argument
Dtrace_events.h560 static int perf_perm_##name(struct trace_event_call *tp_event, \
Dperf_event.h755 struct trace_event_call *tp_event; member
/kernel/linux/linux-5.10/sound/soc/codecs/
Dwm8962.c1843 static int tp_event(struct snd_soc_dapm_widget *w, in tp_event() function
2179 SND_SOC_DAPM_SUPPLY("TEMP_HP", SND_SOC_NOPM, 0, 0, tp_event,
2181 SND_SOC_DAPM_SUPPLY("TEMP_SPK", SND_SOC_NOPM, 0, 0, tp_event,
/kernel/linux/linux-5.10/kernel/events/
Dcore.c9863 is_kprobe = event->tp_event->flags & TRACE_EVENT_FL_UKPROBE; in perf_event_set_bpf_prog()
9864 is_tracepoint = event->tp_event->flags & TRACE_EVENT_FL_TRACEPOINT; in perf_event_set_bpf_prog()
9865 is_syscall_tp = is_syscall_trace_event(event->tp_event); in perf_event_set_bpf_prog()
9884 !(event->tp_event->flags & TRACE_EVENT_FL_KPROBE)) { in perf_event_set_bpf_prog()
9890 int off = trace_event_get_offsets(event->tp_event); in perf_event_set_bpf_prog()