linux-hardened/fs/pstore
Aruna Balakrishnaiah b0aad7a99c pstore: Add compression support to pstore
Add compression support to pstore which will help in capturing more data.
Initially, pstore will make a call to kmsg_dump with a bigger buffer
and will pass the size of bigger buffer to kmsg_dump and then compress
the data to registered buffer of registered size.

In case compression fails, pstore will capture the uncompressed
data by making a call again to kmsg_dump with registered_buffer
of registered size.

Pstore will indicate the data is compressed or not with a flag
in the write callback.

Signed-off-by: Aruna Balakrishnaiah <aruna@linux.vnet.ibm.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
2013-08-19 10:18:11 -07:00
..
ftrace.c pstore: Add hsize argument in write_buf call of pstore_ftrace_call 2013-07-02 18:39:37 +10:00
inode.c pstore: d_alloc_name() doesn't return an ERR_PTR 2013-08-19 10:13:59 -07:00
internal.h efi_pstore: Add a sequence counter to a variable name 2012-11-26 16:07:44 -08:00
Kconfig pstore/Kconfig: Select ZLIB_DEFLATE and ZLIB_INFLATE when PSTORE is selected 2013-08-19 10:18:10 -07:00
Makefile pstore: Add persistent function tracing 2012-07-17 10:05:52 -07:00
platform.c pstore: Add compression support to pstore 2013-08-19 10:18:11 -07:00
ram.c pstore: Add new argument 'compressed' in pstore write callback 2013-08-19 10:18:10 -07:00
ram_core.c pstore/ram: avoid atomic accesses for ioremapped regions 2013-06-14 15:54:21 -07:00