diff options
author | Steven Rostedt <srostedt@redhat.com> | 2010-03-31 22:11:42 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-03-31 22:57:08 -0400 |
commit | ff0ff84a0767df48d728c36510365344a7e7d582 (patch) | |
tree | 9f32396f4b5a53a3b55429a257c0630dffc8176e /arch/sh/mm/pgtable.c | |
parent | bc21b478425ac73f66a5ec0b375a5e0d12d609ce (diff) | |
download | op-kernel-dev-ff0ff84a0767df48d728c36510365344a7e7d582.zip op-kernel-dev-ff0ff84a0767df48d728c36510365344a7e7d582.tar.gz |
ring-buffer: Add lost event count to end of sub buffer
Currently, binary readers of the ring buffer only know where events were
lost, but not how many events were lost at that location.
This information is available, but it would require adding another
field to the sub buffer header to include it.
But when a event can not fit at the end of a sub buffer, it is written
to the next sub buffer. This means there is a good chance that the
buffer may have room to hold this counter. If it does, write
the counter at the end of the sub buffer and set another flag
in the data size field that states that this information exists.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'arch/sh/mm/pgtable.c')
0 files changed, 0 insertions, 0 deletions