ftrace: correct the counter increment for trace_buffer data
authorUmesh Tiwari <umesh.t@samsung.com>
Mon, 22 Jun 2015 11:25:06 +0000 (16:55 +0530)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 21 Jul 2015 02:30:45 +0000 (22:30 -0400)
commit5e2d5ef8ec1e3854daec41a3697a8d2ce05ff2ef
treebccd8c532d44c8bf6efd245c6e39281ff1ea054f
parent72917235fd5f08638be1d52dcdb0fee3ce2cc95f
ftrace: correct the counter increment for trace_buffer data

In ftrace_dump, for disabling buffer, iter.tr->trace_buffer.data is used.
But for enabling, iter.trace_buffer->data is used.
Even though, both point to same buffer, for readability, same convention
should be used.

Link: http://lkml.kernel.org/r/1434972306-20043-1-git-send-email-umesh.t@samsung.com
Signed-off-by: Umesh Tiwari <umesh.t@samsung.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c