summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2022-12-29 14:49:39 +0106
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-11 16:40:04 +0100
commitf1f6c87d82248b59904889538fff1b8063800af4 (patch)
tree615b0a9bd5e53f810327f7a4f4a5e5f604894da4 /mm
parent6814e8e4202f3507a5b51c80a3c38f6e7a3973fb (diff)
downloadlinux-stable-f1f6c87d82248b59904889538fff1b8063800af4.tar.gz
linux-stable-f1f6c87d82248b59904889538fff1b8063800af4.tar.bz2
linux-stable-f1f6c87d82248b59904889538fff1b8063800af4.zip
docs: gdbmacros: print newest record
commit f2e4cca2f670c8e52fbb551a295f2afc9aa2bd72 upstream. @head_id points to the newest record, but the printing loop exits when it increments to this value (before printing). Exit the printing loop after the newest record has been printed. The python-based function in scripts/gdb/linux/dmesg.py already does this correctly. Fixes: e60768311af8 ("scripts/gdb: update for lockless printk ringbuffer") Cc: stable@vger.kernel.org Signed-off-by: John Ogness <john.ogness@linutronix.de> Reviewed-by: Petr Mladek <pmladek@suse.com> Signed-off-by: Petr Mladek <pmladek@suse.com> Link: https://lore.kernel.org/r/20221229134339.197627-1-john.ogness@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions