diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2008-09-03 17:42:51 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-14 10:36:42 +0200 |
commit | 5a90f577e5369a84b720ead42e621fcb1b8a8b21 (patch) | |
tree | 55263f6d25613ce1ba98062ca96635aaac5dd426 /lib/rwsem-spinlock.c | |
parent | 652567aa2000f1d4a1fd434382a30d8dd4a7c980 (diff) |
ftrace: print continue index fix
An item in the trace buffer that is bigger than one entry may be split
up using the TRACE_CONT entry. This makes it a virtual single entry.
The current code increments the iterator index even while traversing
TRACE_CONT entries, making it look like the iterator is further than
it actually is.
This patch adds code to not increment the iterator index while skipping
over TRACE_CONT entries.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib/rwsem-spinlock.c')
0 files changed, 0 insertions, 0 deletions