summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorNiklas Schnelle <schnelle@linux.ibm.com>2024-12-13 16:47:32 +0300
committerAlexander Gordeev <agordeev@linux.ibm.com>2024-12-16 18:14:26 +0300
commitdc18c81a57e75c2abfd826164600b5b4f96f5fd9 (patch)
tree18340f4acf232a9227075804a5041f579f397271 /scripts/gdb/linux/utils.py
parent5f952dae48d034b0736593ba98b5aef84038522b (diff)
downloadlinux-dc18c81a57e75c2abfd826164600b5b4f96f5fd9.tar.xz
s390/debug: Add a reverse mode for debug_dump()
In this mode debug_dump() writes the debug log starting at the newest entry followed by earlier entries. To this end add a debug_prev_entry() helper analogous to debug_next_entry() a helper to get the latest entry which is one before the active entry and a helper to iterate either forward or backward. Reviewed-by: Halil Pasic <pasic@linux.ibm.com> Co-developed-by: Halil Pasic <pasic@linux.ibm.com> Signed-off-by: Halil Pasic <pasic@linux.ibm.com> Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions