tracing: Fix the branch tracer that broke with buffer change
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Fri, 8 Mar 2013 15:40:07 +0000 (10:40 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 15 Mar 2013 04:35:54 +0000 (00:35 -0400)
commit153e8ed913b022d2003866a848af9fadc041403f
treef4e1281c8fa0e41fef569c903ed692b829647f96
parent55034cd6e648155393b0d665eef76b38d49ad6bf
tracing: Fix the branch tracer that broke with buffer change

The changce to add the trace_buffer struct to have the trace array
have both the main buffer and max buffer broke the branch tracer
because the change did not update that code. As the branch tracer
adds a significant amount of overhead, and must be selected via
a selection (not a allyesconfig) it was missed in testing.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_branch.c