/linux/kernel/trace/ |
A D | trace_event_perf.c | 33 ret = tp_event->perf_perm(tp_event, p_event); in perf_trace_event_perm() 103 p_event->tp_event = tp_event; in perf_trace_event_reg() 129 ret = tp_event->class->reg(tp_event, TRACE_REG_PERF_REGISTER, NULL); in perf_trace_event_reg() 156 struct trace_event_call *tp_event = p_event->tp_event; in perf_trace_event_unreg() local 162 tp_event->class->reg(tp_event, TRACE_REG_PERF_UNREGISTER, NULL); in perf_trace_event_unreg() 185 struct trace_event_call *tp_event = p_event->tp_event; in perf_trace_event_open() local 191 struct trace_event_call *tp_event = p_event->tp_event; in perf_trace_event_close() local 192 tp_event->class->reg(tp_event, TRACE_REG_PERF_CLOSE, p_event); in perf_trace_event_close() 226 tp_event->class && tp_event->class->reg && in perf_trace_init() 357 struct trace_event_call *tp_event = p_event->tp_event; in perf_trace_add() local [all …]
|
A D | trace_eprobe.c | 813 struct trace_event_call *tp_event; in find_and_get_event() local 816 list_for_each_entry(tp_event, &ftrace_events, list) { in find_and_get_event() 818 if (tp_event->flags & in find_and_get_event() 824 if (!tp_event->class->system || in find_and_get_event() 825 strcmp(system, tp_event->class->system)) in find_and_get_event() 827 name = trace_event_name(tp_event); in find_and_get_event() 830 if (!trace_event_try_get_ref(tp_event)) { in find_and_get_event() 834 return tp_event; in find_and_get_event()
|
A D | bpf_trace.c | 1806 (!trace_kprobe_on_func_entry(event->tp_event) || in perf_event_attach_bpf_prog() 1807 !trace_kprobe_error_injectable(event->tp_event))) in perf_event_attach_bpf_prog() 1815 old_array = bpf_event_rcu_dereference(event->tp_event->prog_array); in perf_event_attach_bpf_prog() 1829 rcu_assign_pointer(event->tp_event->prog_array, new_array); in perf_event_attach_bpf_prog() 1848 old_array = bpf_event_rcu_dereference(event->tp_event->prog_array); in perf_event_detach_bpf_prog() 1855 rcu_assign_pointer(event->tp_event->prog_array, new_array); in perf_event_detach_bpf_prog() 1895 progs = bpf_event_rcu_dereference(event->tp_event->prog_array); in perf_event_query_prog_array() 2031 flags = event->tp_event->flags; in bpf_get_perf_event_info() 2033 is_syscall_tp = is_syscall_trace_event(event->tp_event); in bpf_get_perf_event_info() 2036 *buf = is_tracepoint ? event->tp_event->tp->name in bpf_get_perf_event_info() [all …]
|
A D | trace_probe.c | 1065 struct trace_event_call *tp_event; in find_trace_event_call() local 1068 list_for_each_entry(tp_event, &ftrace_events, list) { in find_trace_event_call() 1069 if (!tp_event->class->system || in find_trace_event_call() 1070 strcmp(system, tp_event->class->system)) in find_trace_event_call() 1072 name = trace_event_name(tp_event); in find_trace_event_call() 1075 return tp_event; in find_trace_event_call()
|
A D | trace_uprobe.c | 1427 const char *pevent = trace_event_name(event->tp_event); in bpf_get_uprobe_info() 1428 const char *group = event->tp_event->class->system; in bpf_get_uprobe_info() 1434 tu = trace_uprobe_primary_from_call(event->tp_event); in bpf_get_uprobe_info()
|
A D | trace_kprobe.c | 1654 const char *pevent = trace_event_name(event->tp_event); in bpf_get_kprobe_info() 1655 const char *group = event->tp_event->class->system; in bpf_get_kprobe_info() 1661 tk = trace_kprobe_primary_from_call(event->tp_event); in bpf_get_kprobe_info()
|
A D | trace_events_filter.c | 2044 call = event->tp_event; in ftrace_profile_set_filter()
|
/linux/drivers/edac/ |
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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/include/linux/ |
A 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
|
A D | trace_events.h | 662 static int perf_perm_##name(struct trace_event_call *tp_event, \
|
A D | perf_event.h | 772 struct trace_event_call *tp_event; member
|
/linux/kernel/events/ |
A D | core.c | 10087 is_kprobe = event->tp_event->flags & TRACE_EVENT_FL_UKPROBE; in perf_event_set_bpf_prog() 10088 is_tracepoint = event->tp_event->flags & TRACE_EVENT_FL_TRACEPOINT; in perf_event_set_bpf_prog() 10089 is_syscall_tp = is_syscall_trace_event(event->tp_event); in perf_event_set_bpf_prog() 10101 !(event->tp_event->flags & TRACE_EVENT_FL_KPROBE)) in perf_event_set_bpf_prog() 10105 int off = trace_event_get_offsets(event->tp_event); in perf_event_set_bpf_prog()
|