Commit 776b6922 authored by Takashi.Toida's avatar Takashi.Toida Committed by Yenchia Chen
Browse files

ANDROID: vendor_hooks: printk ignore the loglevel to pstore



Usually, we use the console-ramoops in pstore to check printk logs
during a reboot issue.
However, enabling the printk log level for the console
to investigate kernel and/or driver reboot issues sometimes delays
real-time processing.
As a result, the software behavior changes, and other problems may
occur instead.
To address this, we add a hook that allows us to send printk logs
to pstore while ignoring the log level.
We might be able to avoid using a vendorhook here if upstream has
the capability to record all levels of printk logs into pstore,
even if it is no longer called console-ramoops.

Bug: 396580116
Bug: 400833332
Change-Id: I3ad0a0bed4069fd741ebfb47c16ee7400dc2086c
Signed-off-by: default avatar"Takashi.Toida" <Takashi.Toida@sony.com>
(cherry picked from commit ebbd7fff)
parent 71d4a644
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment