[Crash-utility] [PATCH] printk: add support for lockless ringbuffer

John Ogness john.ogness at linutronix.de
Wed Nov 25 04:29:34 UTC 2020


On 2020-11-20, HAGIO KAZUHITO(萩尾 一仁)	<k-hagio-ab at nec.com> wrote:
> I've updated John's RFC crash patch to match 5.10-rc4 kernel.
> Changes from the RFC patch:
> - followed the following kernel commits
>     cfe2790b163a ("printk: move printk_info into separate array")
>     74caba7f2a06 ("printk: move dictionary keys to dev_printk_info")
>     f35efc78add6 ("printk: remove dict ring")
> - moved the added members in offset_table and size_table to the end
>   of them
> - print offsets and sizes with "help -o" option
> - support "log -T" option

Thank you for this work. I've attached a followup "crash" patch to
correctly interpret the state value. With this followup patch applied,
this passes all my tests.

Note that support for "./crash --log ./vmcore" is still not
implemented. That can be done in a separate patch.

John Ogness

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-printk-use-committed-finalized-state-values.patch
Type: text/x-diff
Size: 3159 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20201125/cd2888fb/attachment.bin>


More information about the Crash-utility mailing list