Home
last modified time | relevance | path

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

/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.c1206 (!trace_kprobe_on_func_entry(event->tp_event) || in perf_event_attach_bpf_prog()
1207 !trace_kprobe_error_injectable(event->tp_event))) in perf_event_attach_bpf_prog()
1215 old_array = bpf_event_rcu_dereference(event->tp_event->prog_array); in perf_event_attach_bpf_prog()
1228 rcu_assign_pointer(event->tp_event->prog_array, new_array); in perf_event_attach_bpf_prog()
1247 old_array = bpf_event_rcu_dereference(event->tp_event->prog_array); in perf_event_detach_bpf_prog()
1254 rcu_assign_pointer(event->tp_event->prog_array, new_array); in perf_event_detach_bpf_prog()
1294 progs = bpf_event_rcu_dereference(event->tp_event->prog_array); in perf_event_query_prog_array()
1428 flags = event->tp_event->flags; in bpf_get_perf_event_info()
1430 is_syscall_tp = is_syscall_trace_event(event->tp_event); in bpf_get_perf_event_info()
1433 *buf = is_tracepoint ? event->tp_event->tp->name in bpf_get_perf_event_info()
[all …]
Dtrace_uprobe.c1416 const char *pevent = trace_event_name(event->tp_event); in bpf_get_uprobe_info()
1417 const char *group = event->tp_event->class->system; in bpf_get_uprobe_info()
1423 tu = event->tp_event->data; in bpf_get_uprobe_info()
Dtrace_kprobe.c1458 const char *pevent = trace_event_name(event->tp_event); in bpf_get_kprobe_info()
1459 const char *group = event->tp_event->class->system; in bpf_get_kprobe_info()
1465 tk = event->tp_event->data; in bpf_get_kprobe_info()
Dtrace_events_filter.c2065 call = event->tp_event; in ftrace_profile_set_filter()
/kernel/events/
Dcore.c9062 is_kprobe = event->tp_event->flags & TRACE_EVENT_FL_UKPROBE; in perf_event_set_bpf_prog()
9063 is_tracepoint = event->tp_event->flags & TRACE_EVENT_FL_TRACEPOINT; in perf_event_set_bpf_prog()
9064 is_syscall_tp = is_syscall_trace_event(event->tp_event); in perf_event_set_bpf_prog()
9083 !(event->tp_event->flags & TRACE_EVENT_FL_KPROBE)) { in perf_event_set_bpf_prog()
9089 int off = trace_event_get_offsets(event->tp_event); in perf_event_set_bpf_prog()