diff options
author | Steven Rostedt <srostedt@redhat.com> | 2012-08-02 16:32:10 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2013-03-15 05:34:42 +0100 |
commit | ccb469a198cffac94a7eea0b69f715f06e2ddf15 (patch) | |
tree | a4de18987f64f115373a22379eef17d6d30ce9b8 /kernel/trace/trace_kdb.c | |
parent | tracing: Encapsulate global_trace and remove dependencies on global vars (diff) | |
download | linux-ccb469a198cffac94a7eea0b69f715f06e2ddf15.tar.xz linux-ccb469a198cffac94a7eea0b69f715f06e2ddf15.zip |
tracing: Pass the ftrace_file to the buffer lock reserve code
Pass the struct ftrace_event_file *ftrace_file to the
trace_event_buffer_lock_reserve() (new function that replaces the
trace_current_buffer_lock_reserver()).
The ftrace_file holds a pointer to the trace_array that is in use.
In the case of multiple buffers with different trace_arrays, this
allows different events to be recorded into different buffers.
Also fixed some of the stale comments in include/trace/ftrace.h
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_kdb.c')
0 files changed, 0 insertions, 0 deletions