scripts/gdb: remove exception handling and refine print format
authorKuan-Ying Lee <Kuan-Ying.Lee@mediatek.com>
Mon, 27 Nov 2023 07:04:03 +0000 (15:04 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 11 Dec 2023 01:21:49 +0000 (17:21 -0800)
commite52ec6a2db2e01e6a8cdfbe4fee1f89f57cdf723
tree1ca50bc865999f32cd627121d3c8b419bd7279b6
parent125e9987a2d9016f78d0a020cec7d55fd0f29501
scripts/gdb: remove exception handling and refine print format

1. When we crash on a page, we want to check what happened on this
   page instead of skipping this page by try-except block.  Thus, removing
   the try-except block.

2. Remove redundant comma and print the task name properly.

Link: https://lkml.kernel.org/r/20231127070404.4192-4-Kuan-Ying.Lee@mediatek.com
Signed-off-by: Kuan-Ying Lee <Kuan-Ying.Lee@mediatek.com>
Cc: Andrey Konovalov <andreyknvl@google.com>
Cc: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Cc: Chinwen Chang <chinwen.chang@mediatek.com>
Cc: Matthias Brugger <matthias.bgg@gmail.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Qun-Wei Lin <qun-wei.lin@mediatek.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
scripts/gdb/linux/page_owner.py
scripts/gdb/linux/slab.py