From: Slava Pestov Date: Fri, 15 Jul 2011 21:23:58 +0000 (-0700) Subject: ring-buffer: Add a 'dropped events' counter X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~77^2~4^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=884bfe89a462fcc85c8abd96171519cf2fe70929;p=pandora-kernel.git 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 Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed