tmp_suning_uos_patched/fs/pstore
Anton Vorontsov f29e5956ae pstore: Add console log messages support
Pstore doesn't support logging kernel messages in run-time, it only
dumps dmesg when kernel oopses/panics. This makes pstore useless for
debugging hangs caused by HW issues or improper use of HW (e.g.
weird device inserted -> driver tried to write a reserved bits ->
SoC hanged. In that case we don't get any messages in the pstore.

Therefore, let's add a runtime logging support: PSTORE_TYPE_CONSOLE.

Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Acked-by: Kees Cook <keescook@chromium.org>
Acked-by: Colin Cross <ccross@android.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-06-13 16:59:27 -07:00
..
inode.c pstore: Add console log messages support 2012-06-13 16:59:27 -07:00
internal.h pstore: defer inserting OOPS entries into pstore 2011-08-16 11:53:01 -07:00
Kconfig pstore: Add console log messages support 2012-06-13 16:59:27 -07:00
Makefile staging: android: persistent_ram: Move to fs/pstore/ram_core.c 2012-05-17 08:50:00 -07:00
platform.c pstore: Add console log messages support 2012-06-13 16:59:27 -07:00
ram_core.c pstore/ram_core: Factor persistent_ram_zap() out of post_init() 2012-06-13 16:52:40 -07:00
ram.c pstore/ram: Should zap persistent zone on unlink 2012-06-13 16:52:40 -07:00