Repository navigation
Commit 884bfe8
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>1 parent f43c738 commit 884bfe8
3 files changed
Lines changed: 39 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
169 | 170 | | |
170 | 171 | | |
171 | 172 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
460 | 460 | | |
461 | 461 | | |
462 | 462 | | |
463 | | - | |
464 | | - | |
465 | 463 | | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
466 | 467 | | |
467 | 468 | | |
468 | 469 | | |
| |||
2155 | 2156 | | |
2156 | 2157 | | |
2157 | 2158 | | |
2158 | | - | |
| 2159 | + | |
| 2160 | + | |
2159 | 2161 | | |
| 2162 | + | |
2160 | 2163 | | |
2161 | 2164 | | |
2162 | 2165 | | |
| |||
2995 | 2998 | | |
2996 | 2999 | | |
2997 | 3000 | | |
2998 | | - | |
| 3001 | + | |
| 3002 | + | |
2999 | 3003 | | |
3000 | 3004 | | |
3001 | 3005 | | |
| |||
3015 | 3019 | | |
3016 | 3020 | | |
3017 | 3021 | | |
3018 | | - | |
| 3022 | + | |
| 3023 | + | |
| 3024 | + | |
3019 | 3025 | | |
3020 | 3026 | | |
3021 | 3027 | | |
| |||
3035 | 3041 | | |
3036 | 3042 | | |
3037 | 3043 | | |
| 3044 | + | |
| 3045 | + | |
| 3046 | + | |
| 3047 | + | |
| 3048 | + | |
| 3049 | + | |
| 3050 | + | |
| 3051 | + | |
| 3052 | + | |
| 3053 | + | |
| 3054 | + | |
| 3055 | + | |
| 3056 | + | |
| 3057 | + | |
| 3058 | + | |
| 3059 | + | |
| 3060 | + | |
| 3061 | + | |
| 3062 | + | |
| 3063 | + | |
| 3064 | + | |
| 3065 | + | |
3038 | 3066 | | |
3039 | 3067 | | |
3040 | 3068 | | |
| |||
3864 | 3892 | | |
3865 | 3893 | | |
3866 | 3894 | | |
3867 | | - | |
3868 | 3895 | | |
3869 | 3896 | | |
| 3897 | + | |
| 3898 | + | |
3870 | 3899 | | |
3871 | 3900 | | |
3872 | 3901 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4385 | 4385 | | |
4386 | 4386 | | |
4387 | 4387 | | |
| 4388 | + | |
| 4389 | + | |
| 4390 | + | |
4388 | 4391 | | |
4389 | 4392 | | |
4390 | 4393 | | |
| |||
0 commit comments