pstore/ram: Add ftrace messages handling

The ftrace log size is configurable via ramoops.ftrace_size
module option, and the log itself is available via
<pstore-mount>/ftrace-ramoops file.

Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Anton Vorontsov
2012-07-09 17:10:44 -07:00
committed by Greg Kroah-Hartman
parent c2b7113261
commit a694d1b591
3 changed files with 59 additions and 4 deletions

View File

@@ -72,6 +72,7 @@ struct ramoops_platform_data {
unsigned long mem_address;
unsigned long record_size;
unsigned long console_size;
unsigned long ftrace_size;
int dump_oops;
int ecc_size;
};