OSDN Git Service

tracing: Export trace_set_clr_event()
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Mon, 8 Nov 2010 06:05:12 +0000 (14:05 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 10 Mar 2011 15:34:51 +0000 (10:34 -0500)
commit56355b83e2a24ce7e1870c8479205e2cdd332225
treee85804c55de4f125332d8052c9181d2b8ae84a20
parent31274d72f01604f4b02d933b4f3cac84d2c201fd
tracing: Export trace_set_clr_event()

Trace events belonging to a module only exists when the module is
loaded. Well, we can use trace_set_clr_event funtion to enable some
trace event at the module init routine, so that we will not miss
something while loading then module.

So, Export the trace_set_clr_event function so that module can use it.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
LKML-Reference: <1289196312-25323-1-git-send-email-yuanhan.liu@linux.intel.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_events.c