lkml.org 
[lkml]   [2020]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH v5 4/4] printk: use the lockless ringbuffer
    Date
    On 2020-08-11, Nick Desaulniers <ndesaulniers@google.com> wrote:
    > From what I can tell, I think this patch ("printk: use the lockless
    > ringbuffer") breaks lx-dmesg in CONFIG_GDB_SCRIPTS.
    >
    > (gdb) lx-dmesg
    > Python Exception <class 'gdb.error'> No symbol "log_first_idx" in specified context.:
    > Error occurred in Python: No symbol "log_first_idx" in specified context.
    >
    > This command is used to dump the printk log buffer.
    >
    > It looks like the only places left in the kernel that reference are:
    >
    > - Documentation/admin-guide/kdump/gdbmacros.txt
    > - Documentation/admin-guide/kdump/vmcoreinfo.rst
    > - scripts/gdb/linux/dmesg.py
    >
    > I believe this commit removed log_first_idx, so all of the above
    > probably need to be fixed up, too.

    Thanks for pointing this out! I will get to work on a patch for this.

    John Ogness

    \
     
     \ /
      Last update: 2020-08-12 18:41    [W:35.455 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site