]> git.karo-electronics.de Git - linux-beck.git/commit
tracing/filter: Simplify tracepoint event lookup
authorJiri Olsa <jolsa@redhat.com>
Thu, 11 Aug 2011 14:25:48 +0000 (16:25 +0200)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 19 Aug 2011 18:35:53 +0000 (14:35 -0400)
commit3f78f935e7fec3067b7990f9e4d324e1de70f79c
treea8152f5be2e5fb72b51baf872bd36ffa1d9d4dcf
parent61aaef55300088e12d7f853adeea65d1aa1562db
tracing/filter: Simplify tracepoint event lookup

We dont need to perform lookup through the ftrace_events list,
instead we can use the 'tp_event' field.

Each perf_event contains tracepoint event field 'tp_event', which
got initialized during the tracepoint event initialization.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1313072754-4620-5-git-send-email-jolsa@redhat.com
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_events_filter.c