diff options
author | Slava Pestov <slavapestov@google.com> | 2011-07-15 23:23:58 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2012-10-31 21:45:27 +0100 |
commit | 884bfe89a462fcc85c8abd96171519cf2fe70929 (patch) | |
tree | be61b3c6ee4d75198af22f5cdadc3b289b207bda /kernel/bounds.c | |
parent | tracing: Change tracer's integer flags to bool (diff) | |
download | linux-884bfe89a462fcc85c8abd96171519cf2fe70929.tar.xz linux-884bfe89a462fcc85c8abd96171519cf2fe70929.zip |
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: Slava Pestov <slavapestov@google.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/bounds.c')
0 files changed, 0 insertions, 0 deletions