aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAnton Vorontsov <anton.vorontsov@linaro.org>2012-07-09 20:10:44 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-17 13:14:17 -0400
commita694d1b5916a486ce25fb5f2b39f2627f7afd5f3 (patch)
tree541a95c58880019cffe90c79a9468746893caa0d /include
parentc2b7113261c5bb49031a15b833e59ea2d8ec4074 (diff)
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/pstore_ram.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pstore_ram.h b/include/linux/pstore_ram.h
index dcf805f56bc6..af848e1593b9 100644
--- a/include/linux/pstore_ram.h
+++ b/include/linux/pstore_ram.h
@@ -72,6 +72,7 @@ struct ramoops_platform_data {
72 unsigned long mem_address; 72 unsigned long mem_address;
73 unsigned long record_size; 73 unsigned long record_size;
74 unsigned long console_size; 74 unsigned long console_size;
75 unsigned long ftrace_size;
75 int dump_oops; 76 int dump_oops;
76 int ecc_size; 77 int ecc_size;
77}; 78};