Home
last modified time | relevance | path

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

/linux-3.4.99/kernel/trace/
Dtrace_event_perf.c24 static int perf_trace_event_perm(struct ftrace_event_call *tp_event, in perf_trace_event_perm() argument
28 if (ftrace_event_is_function(tp_event) && in perf_trace_event_perm()
38 if (tp_event->flags & TRACE_EVENT_FL_CAP_ANY) in perf_trace_event_perm()
52 static int perf_trace_event_reg(struct ftrace_event_call *tp_event, in perf_trace_event_reg() argument
59 p_event->tp_event = tp_event; in perf_trace_event_reg()
60 if (tp_event->perf_refcount++ > 0) in perf_trace_event_reg()
70 tp_event->perf_events = list; in perf_trace_event_reg()
85 ret = tp_event->class->reg(tp_event, TRACE_REG_PERF_REGISTER, NULL); in perf_trace_event_reg()
102 if (!--tp_event->perf_refcount) { in perf_trace_event_reg()
103 free_percpu(tp_event->perf_events); in perf_trace_event_reg()
[all …]
Dtrace_events_filter.c2116 call = event->tp_event; in ftrace_profile_set_filter()
/linux-3.4.99/include/linux/
Dperf_event.h981 struct ftrace_event_call *tp_event; member