summaryrefslogtreecommitdiff
path: root/Documentation/circular-buffers.txt
diff options
context:
space:
mode:
authorIvan Delalande <colona@arista.com>2016-03-18 00:21:30 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2016-03-18 01:09:34 +0300
commitf468908bb55a0b01d9424c74f8ec8eb906835150 (patch)
treea7bf81033bae377f5507cdd19e714b9686f31029 /Documentation/circular-buffers.txt
parentadaf6590ee7db23c3a124fb9f213c90c15cecf96 (diff)
downloadlinux-f468908bb55a0b01d9424c74f8ec8eb906835150.tar.xz
printk: add clear_idx symbol to vmcoreinfo
This allows us to extract from the vmcore only the messages emitted since the last time the ring buffer was cleared. We just have to make sure its value is always up-to-date, when old messages are discarded to free space in log_make_free_space() for example. Signed-off-by: Zeyu Zhao <zzy8200@gmail.com> Signed-off-by: Ivan Delalande <colona@arista.com> Cc: Kay Sievers <kay@vrfy.org> Cc: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/circular-buffers.txt')
0 files changed, 0 insertions, 0 deletions