Searched refs:tp_event (Results 1 – 7 of 7) sorted by relevance
/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 | bpf_trace.c | 1211 (!trace_kprobe_on_func_entry(event->tp_event) || in perf_event_attach_bpf_prog() 1212 !trace_kprobe_error_injectable(event->tp_event))) in perf_event_attach_bpf_prog() 1220 old_array = bpf_event_rcu_dereference(event->tp_event->prog_array); in perf_event_attach_bpf_prog() 1233 rcu_assign_pointer(event->tp_event->prog_array, new_array); in perf_event_attach_bpf_prog() 1252 old_array = bpf_event_rcu_dereference(event->tp_event->prog_array); in perf_event_detach_bpf_prog() 1259 rcu_assign_pointer(event->tp_event->prog_array, new_array); in perf_event_detach_bpf_prog() 1299 progs = bpf_event_rcu_dereference(event->tp_event->prog_array); in perf_event_query_prog_array() 1436 flags = event->tp_event->flags; in bpf_get_perf_event_info() 1438 is_syscall_tp = is_syscall_trace_event(event->tp_event); in bpf_get_perf_event_info() 1441 *buf = is_tracepoint ? event->tp_event->tp->name in bpf_get_perf_event_info() [all …]
|
D | trace_probe.c | 1036 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()
|
D | trace_uprobe.c | 1407 const char *pevent = trace_event_name(event->tp_event); in bpf_get_uprobe_info() 1408 const char *group = event->tp_event->class->system; in bpf_get_uprobe_info() 1414 tu = trace_uprobe_primary_from_call(event->tp_event); in bpf_get_uprobe_info()
|
D | trace_kprobe.c | 1470 const char *pevent = trace_event_name(event->tp_event); in bpf_get_kprobe_info() 1471 const char *group = event->tp_event->class->system; in bpf_get_kprobe_info() 1477 tk = trace_kprobe_primary_from_call(event->tp_event); in bpf_get_kprobe_info()
|
D | trace_events_filter.c | 2065 call = event->tp_event; in ftrace_profile_set_filter()
|
/kernel/events/ |
D | core.c | 9159 is_kprobe = event->tp_event->flags & TRACE_EVENT_FL_UKPROBE; in perf_event_set_bpf_prog() 9160 is_tracepoint = event->tp_event->flags & TRACE_EVENT_FL_TRACEPOINT; in perf_event_set_bpf_prog() 9161 is_syscall_tp = is_syscall_trace_event(event->tp_event); in perf_event_set_bpf_prog() 9180 !(event->tp_event->flags & TRACE_EVENT_FL_KPROBE)) { in perf_event_set_bpf_prog() 9186 int off = trace_event_get_offsets(event->tp_event); in perf_event_set_bpf_prog()
|