diff options
author | Steven Rostedt <srostedt@redhat.com> | 2012-05-14 17:02:33 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2012-05-16 19:50:23 -0400 |
commit | 659f451ff21315ebfeeb46b9adccee8ce1b52c25 (patch) | |
tree | da818329ad9c47e3a5c5414e37e836cb8bda5bec /net/wireless/genregdb.awk | |
parent | 5040b4b7bcc26a311c799d46f67174bcb20d05dd (diff) |
ring-buffer: Add integrity check at end of iter read
There use to be ring buffer integrity checks after updating the
size of the ring buffer. But now that the ring buffer can modify
the size while the system is running, the integrity checks were
removed, as they require the ring buffer to be disabed to perform
the check.
Move the integrity check to the reading of the ring buffer via the
iterator reads (the "trace" file). As reading via an iterator requires
disabling the ring buffer, it is a perfect place to have it.
If the ring buffer happens to be disabled when updating the size,
we still perform the integrity check.
Cc: Vaibhav Nagarnaik <vnagarnaik@google.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'net/wireless/genregdb.awk')
0 files changed, 0 insertions, 0 deletions