Skip to content
Snippets Groups Projects
Commit 884bfe89 authored by Slava Pestov's avatar Slava Pestov Committed by Steven Rostedt
Browse files

ring-buffer: Add a 'dropped events' counter

The existing 'overrun' counter is incremented when the ring
buffer wraps around, with overflow on (the default). We wanted
a way to count requests lost from the buffer filling up with
overflow off, too. I decided to add a new counter instead
of retro-fitting the existing one because it seems like a
different statistic to count conceptually, and also because
of how the code was structured.

Link: http://lkml.kernel.org/r/1310765038-26399-1-git-send-email-slavapestov@google.com



Signed-off-by: default avatarSlava Pestov <slavapestov@google.com>
Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
parent f43c738b
No related branches found
No related tags found
No related merge requests found
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