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:"Takashi.Toida" <Takashi.Toida@sony.com> (cherry picked from commit ebbd7fff)
Loading
Please sign in to comment