tracing: Pass trace_array into trace_buffer_unlock_commit()
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Fri, 25 Sep 2015 21:38:44 +0000 (17:38 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 25 Sep 2015 21:38:44 +0000 (17:38 -0400)
commitb7f0c959edfb4448f94bd33c39fda08e10ce6ede
tree0fa8e235ddef84d30f83a520ce259f787c15b7b4
parent41907416bc24412f839559ea10a2b9e4eeb21aa7
tracing: Pass trace_array into trace_buffer_unlock_commit()

In preparation for having trace options be per instance, the trace_array
needs to be passed to the trace_buffer_unlock_commit(). The
trace_event_buffer_lock_reserve() already passes in the trace_event_file
where the trace_array can be derived from.

Also added a "__init" to the boot up test event plus function tracing
function function_test_events_call().

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/linux/trace_events.h
kernel/trace/blktrace.c
kernel/trace/trace.c
kernel/trace/trace_events.c
kernel/trace/trace_mmiotrace.c
kernel/trace/trace_sched_wakeup.c