scripts/gdb/stackdepot: add stackdepot support
authorKuan-Ying Lee <Kuan-Ying.Lee@mediatek.com>
Tue, 8 Aug 2023 08:30:15 +0000 (16:30 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 21 Aug 2023 20:46:22 +0000 (13:46 -0700)
commit0e1b240a4b17484d7d5733f33a9f83980a6988a0
tree54abaa4de86279b65a4515ab67fdcfd1f9166b48
parenteb985b5dbf9791136700c555fbf964b6c07481ce
scripts/gdb/stackdepot: add stackdepot support

Add support for printing the backtrace of stackdepot handle.

This is the preparation patch for dumping page_owner,
slabtrace usage.

Link: https://lkml.kernel.org/r/20230808083020.22254-6-Kuan-Ying.Lee@mediatek.com
Signed-off-by: Kuan-Ying Lee <Kuan-Ying.Lee@mediatek.com>
Cc: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Cc: Chinwen Chang <chinwen.chang@mediatek.com>
Cc: Matthias Brugger <matthias.bgg@gmail.com>
Cc: Qun-Wei Lin <qun-wei.lin@mediatek.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
scripts/gdb/linux/constants.py.in
scripts/gdb/linux/stackdepot.py [new file with mode: 0644]
scripts/gdb/vmlinux-gdb.py