diff options
author | John Ogness <[email protected]> | 2022-12-29 14:49:39 +0106 |
---|---|---|
committer | Petr Mladek <[email protected]> | 2023-01-03 10:44:14 +0100 |
commit | f2e4cca2f670c8e52fbb551a295f2afc9aa2bd72 (patch) | |
tree | b155403dcf6fa270fe8ce8f16cef2d6a39c04c97 /lib/memory-notifier-error-inject.c | |
parent | 98d0052d0d9dcd5323833482712b5799ed0bbb0b (diff) |
docs: gdbmacros: print newest record
@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: [email protected]
Signed-off-by: John Ogness <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions