diff options
author | Ivan Delalande <colona@arista.com> | 2016-03-17 14:21:30 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-17 15:09:34 -0700 |
commit | f468908bb55a0b01d9424c74f8ec8eb906835150 (patch) | |
tree | a7bf81033bae377f5507cdd19e714b9686f31029 /fs/proc/array.c | |
parent | adaf6590ee7db23c3a124fb9f213c90c15cecf96 (diff) | |
download | blackbird-obmc-linux-f468908bb55a0b01d9424c74f8ec8eb906835150.tar.gz blackbird-obmc-linux-f468908bb55a0b01d9424c74f8ec8eb906835150.zip |
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 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions