scripts/gdb/stackdepot: rename pool_index to pools_num
authorKuan-Ying Lee <Kuan-Ying.Lee@mediatek.com>
Wed, 29 Nov 2023 06:51:39 +0000 (14:51 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 11 Dec 2023 01:21:48 +0000 (17:21 -0800)
commit125e9987a2d9016f78d0a020cec7d55fd0f29501
treea52615b75542fb4aa172a5ddda0befb54c50323a
parentb4f19e3bce903712e347ce7f88d0c4f6e43277f9
scripts/gdb/stackdepot: rename pool_index to pools_num

After stackdepot evicting support patchset[1], we rename pool_index to
pools_num.

To avoid from the below issue, we rename consistently in
gdb scripts.

Python Exception <class 'gdb.error'>: No symbol "pool_index" in current
context.
Error occurred in Python: No symbol "pool_index" in current context.

[1] https://lore.kernel.org/linux-mm/cover.1700502145.git.andreyknvl@google.com/
Link: https://lkml.kernel.org/r/20231129065142.13375-3-Kuan-Ying.Lee@mediatek.com
Signed-off-by: Kuan-Ying Lee <Kuan-Ying.Lee@mediatek.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.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/stackdepot.py