aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/ramoops.txt
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2012-05-03 01:45:02 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-16 11:06:33 -0400
commit9ba80d99c86f1b76df891afdf39b44df38bbd35b (patch)
treef011fd0ac2adb5cf2a36b15cce0d0b135acaaf09 /Documentation/ramoops.txt
parent7dd8e9be9dba1dc5f0dfec67e37076b9c56a97d7 (diff)
ramoops: use pstore interface
Instead of using /dev/mem directly and forcing userspace to know (or extract) where the platform has defined persistent memory, how many slots it has, the sizes, etc, use the common pstore infrastructure to handle Oops gathering and extraction. This presents a much easier to use filesystem-based view to the memory region. This also means that any other tools that are written to understand pstore will automatically be able to process ramoops too. Signed-off-by: Kees Cook <keescook@chromium.org> Cc: Tony Luck <tony.luck@intel.com> Cc: Marco Stornelli <marco.stornelli@gmail.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/ramoops.txt')
-rw-r--r--Documentation/ramoops.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/ramoops.txt b/Documentation/ramoops.txt
index 8fb1ba7fe7bf..a0b9d8e75380 100644
--- a/Documentation/ramoops.txt
+++ b/Documentation/ramoops.txt
@@ -3,7 +3,7 @@ Ramoops oops/panic logger
3 3
4Sergiu Iordache <sergiu@chromium.org> 4Sergiu Iordache <sergiu@chromium.org>
5 5
6Updated: 8 August 2011 6Updated: 17 November 2011
7 7
80. Introduction 80. Introduction
9 9
@@ -71,6 +71,6 @@ timestamp and a new line. The dump then continues with the actual data.
71 71
724. Reading the data 724. Reading the data
73 73
74The dump data can be read from memory (through /dev/mem or other means). 74The dump data can be read from the pstore filesystem. The format for these
75Getting the module parameters, which are needed in order to parse the data, can 75files is "dmesg-ramoops-N", where N is the record number in memory. To delete
76be done through /sys/module/ramoops/parameters/* . 76a stored record from RAM, simply unlink the respective pstore file.