diff options
author | Steven Rostedt <srostedt@redhat.com> | 2010-04-27 21:26:58 +0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-04-27 21:26:58 +0400 |
commit | a838b2e634405fb89ddbf4fa9412acb33911911f (patch) | |
tree | 987cb7b9bb5f7558b72760ba18a0979ac19212fd /Documentation/trace | |
parent | 72c9ddfd4c5bf54ef03cfdf57026416cb678eeba (diff) | |
download | linux-a838b2e634405fb89ddbf4fa9412acb33911911f.tar.xz |
ring-buffer: Make benchmark handle missed events
With the addition of the "missed events" flags that is stored in the
commit field of the ring buffer page, the ring_buffer_benchmark
was not updated to handle this. If events are missed, then the
missed events flag is set in the ring buffer page, the benchmark
will count that flag as part of the size of the page and will hit the BUG()
when it tries to read beyond the page.
The solution is simply to have the ring buffer benchmark mask off
the extra bits.
Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'Documentation/trace')
0 files changed, 0 insertions, 0 deletions