tracing: Move ftrace_max_lock into trace_array
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Tue, 14 Jan 2014 15:04:59 +0000 (10:04 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 21 Apr 2014 17:59:27 +0000 (13:59 -0400)
commit0b9b12c1b884eb34773312f15c194220025e0416
treeffe346fc3ec3b5d188f3a278d73ba3c55a64bd10
parent6d9b3fa5e7f663bbfb9d2d80d46136f75319cb28
tracing: Move ftrace_max_lock into trace_array

In preparation for having tracers enabled in instances, the max_lock
should be unique as updating the max for one tracer is a separate
operation than updating it for another tracer using a different max.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c
kernel/trace/trace.h
kernel/trace/trace_selftest.c