Re: [PATCH v2 20/25] printk: Register information into meminspect
From: John Ogness
Date: Mon Mar 16 2026 - 05:41:35 EST
On 2026-03-11, Mukesh Ojha <mukesh.ojha@xxxxxxxxxxxxxxxx> wrote:
> Annotate vital static, dynamic information into meminspect for debugging
>
> Static:
> - prb_descs
> - prb_infos
> - prb
> - prb_data
> - printk_rb_static
> - printk_rb_dynamic
FYI: vmcore also exports the symbol "clear_seq". It is not required if
you are interested in reading _everything_ in the buffer. But it may be
interesting if you want to mirror vmcore tool features.
> Dynamic:
> - new_descs
> - new_infos
> - new_log_buf
>
> meminspect uses a different API to annotate variables for inspection,
> and information about these variables is stored in the inspection table.
>
> Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>
> Co-developed-by: Eugen Hristev <eugen.hristev@xxxxxxxxxx>
> Signed-off-by: Eugen Hristev <eugen.hristev@xxxxxxxxxx>
> Signed-off-by: Mukesh Ojha <mukesh.ojha@xxxxxxxxxxxxxxxx>
Reviewed-by: John Ogness <john.ogness@xxxxxxxxxxxxx>