diff options
author | Pavel Tatashin <pasha.tatashin@soleen.com> | 2020-05-05 17:45:07 +0200 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2020-05-30 19:34:03 +0200 |
commit | 3524e688b8ee50b0edc76f0e020727eb6c684dbc (patch) | |
tree | 6ec9d2329912f3a6d0b4f86c2c99e83a64a679b4 /lib/debug_locks.c | |
parent | printk: Introduce kmsg_dump_reason_str() (diff) | |
download | linux-3524e688b8ee50b0edc76f0e020727eb6c684dbc.tar.xz linux-3524e688b8ee50b0edc76f0e020727eb6c684dbc.zip |
pstore/platform: Pass max_reason to kmesg dump
Add a new member to struct pstore_info for passing information about
kmesg dump maximum reason. This allows a finer control of what kmesg
dumps are sent to pstore storage backends.
Those backends that do not explicitly set this field (keeping it equal to
0), get the default behavior: store only Oopses and Panics, or everything
if the printk.always_kmsg_dump boot param is set.
Signed-off-by: Pavel Tatashin <pasha.tatashin@soleen.com>
Link: https://lore.kernel.org/lkml/20200515184434.8470-5-keescook@chromium.org/
Co-developed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'lib/debug_locks.c')
0 files changed, 0 insertions, 0 deletions