Skip to content
Commit 5e2d5ef8 authored by Umesh Tiwari's avatar Umesh Tiwari Committed by Steven Rostedt
Browse files

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: default avatarUmesh Tiwari <umesh.t@samsung.com>
Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
parent 72917235
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment