mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-21 06:12:56 +00:00
pstore/ram: Add console messages handling
The console log size is configurable via ramoops.console_size module option, and the log itself is available via <pstore-mount>/console-ramoops file. Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
755d66b48f
commit
b5d38e9bf1
2 changed files with 87 additions and 14 deletions
|
@ -93,6 +93,7 @@ struct ramoops_platform_data {
|
|||
unsigned long mem_size;
|
||||
unsigned long mem_address;
|
||||
unsigned long record_size;
|
||||
unsigned long console_size;
|
||||
int dump_oops;
|
||||
bool ecc;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue