diff options
author | Kuan-Ying Lee <Kuan-Ying.Lee@mediatek.com> | 2023-08-08 16:30:15 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-08-21 13:46:22 -0700 |
commit | 0e1b240a4b17484d7d5733f33a9f83980a6988a0 (patch) | |
tree | 54abaa4de86279b65a4515ab67fdcfd1f9166b48 /scripts/gdb/linux/constants.py.in | |
parent | eb985b5dbf9791136700c555fbf964b6c07481ce (diff) | |
download | lwn-0e1b240a4b17484d7d5733f33a9f83980a6988a0.tar.gz lwn-0e1b240a4b17484d7d5733f33a9f83980a6988a0.zip |
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>
Diffstat (limited to 'scripts/gdb/linux/constants.py.in')
-rw-r--r-- | scripts/gdb/linux/constants.py.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/gdb/linux/constants.py.in b/scripts/gdb/linux/constants.py.in index 0805aeab3dcd..f33be26253d2 100644 --- a/scripts/gdb/linux/constants.py.in +++ b/scripts/gdb/linux/constants.py.in @@ -128,3 +128,4 @@ LX_CONFIG(CONFIG_VMAP_STACK) if IS_BUILTIN(CONFIG_NUMA): LX_VALUE(CONFIG_NODES_SHIFT) LX_CONFIG(CONFIG_DEBUG_VIRTUAL) +LX_CONFIG(CONFIG_STACKDEPOT) |