scripts/gdb: update for lockless printk ringbuffer
authorJohn Ogness <john.ogness@linutronix.de>
Fri, 14 Aug 2020 21:25:25 +0000 (23:31 +0206)
committerPetr Mladek <pmladek@suse.com>
Tue, 8 Sep 2020 07:33:15 +0000 (09:33 +0200)
commite60768311af854734ce2bbfc50f24cff67b54a91
treeff1470642d64b9b5639749e7fbd8eeac4fecf1a8
parent3e0d075cb0ab3b1fbddc14855985215407f8a48b
scripts/gdb: update for lockless printk ringbuffer

With the introduction of the lockless printk ringbuffer, the data
structure for the kernel log buffer was changed. Update the gdb
scripts to be able to parse/print the new log buffer structure.

Fixes: 896fbe20b4e2333fb55 ("printk: use the lockless ringbuffer")
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reported-by: Nick Desaulniers <ndesaulniers@google.com>
Tested-by: Nick Desaulniers <ndesaulniers@google.com>
Tested-by: Petr Mladek <pmladek@suse.com>
[akpm@linux-foundation.org: A typo fix.]
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20200814212525.6118-3-john.ogness@linutronix.de
Documentation/admin-guide/kdump/gdbmacros.txt
scripts/gdb/linux/dmesg.py