ring-buffer: Add a 'dropped events' counter
authorSlava Pestov <slavapestov@google.com>
Fri, 15 Jul 2011 21:23:58 +0000 (14:23 -0700)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 31 Oct 2012 20:45:27 +0000 (16:45 -0400)
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: Slava Pestov <slavapestov@google.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

No differences found