diff options
author | Vaibhav Nagarnaik <[email protected]> | 2012-06-29 12:31:41 -0700 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2012-06-29 16:17:17 -0400 |
commit | 48fdc72f23ad9a9956e524a47843135d0bbc3317 (patch) | |
tree | baaec367ed2c155d35c76b6d79b7bf1eb9092af7 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 44b99462d9d776522e174d6c531ce5ccef309e26 (diff) |
ring-buffer: Fix accounting of entries when removing pages
When removing pages from the ring buffer, its state is not reset. This
means that the counters need to be correctly updated to account for the
pages removed.
Update the overrun counter to reflect the removed events from the pages.
Link: http://lkml.kernel.org/r/[email protected]
Cc: Justin Teravest <[email protected]>
Cc: David Sharp <[email protected]>
Signed-off-by: Vaibhav Nagarnaik <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions