]> git.baikalelectronics.ru Git - kernel.git/commit
tracing/events: convert event call sites to use a link list
authorSteven Rostedt <srostedt@redhat.com>
Fri, 10 Apr 2009 17:52:20 +0000 (13:52 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 14 Apr 2009 16:58:00 +0000 (12:58 -0400)
commit3b17fd6c7dd6a2ae461e3d75462858b2b739bf4d
treec22e6ff2924726319eac84c480eca72066bad660
parent81de6176caa31067f47e2e0987aaf3909bff766a
tracing/events: convert event call sites to use a link list

Impact: makes it possible to define events in modules

The events are created by reading down the section that they are linked
in by the macros. But this is not scalable to modules. This patch converts
the manipulations to use a global link list, and on boot up it adds
the items in the section to the list.

This change will allow modules to add their tracing events to the list as
well.

Note, this change alone does not permit modules to use the TRACE_EVENT macros,
but the change is needed for them to eventually do so.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/linux/ftrace_event.h
kernel/trace/trace.h
kernel/trace/trace_event_profile.c
kernel/trace/trace_events.c
kernel/trace/trace_events_filter.c