Centos-kernel-stream-9/scripts/gdb/linux
Rafael Aquini 1ac04de9a1 scripts/gdb: redefine MAX_ORDER sanely
JIRA: https://issues.redhat.com/browse/RHEL-84184

This patch is a backport of the following upstream commit:
commit 63ce5947ef45071d825d4712d6c5ece13f1ce2f6
Author: Kuan-Ying Lee <kuan-ying.lee@canonical.com>
Date:   Wed Jun 19 15:49:06 2024 +0800

    scripts/gdb: redefine MAX_ORDER sanely

    Patch series "Fix GDB command error".

    This patchset fixes some GDB command errors.

    1. Since memory layout of AARCH64 has been changed, we need to modify
       the layout in GDB scripts as well.

    2. Fix pool_index naming of stackdepot.

    This patch (of 6):

    Change the definition of MAX_ORDER to be inclusive.

    Link: https://lkml.kernel.org/r/20240619074911.100434-1-kuan-ying.lee@canonical.com
    Link: https://lkml.kernel.org/r/20240619074911.100434-2-kuan-ying.lee@canonical.com
    Fixes: 23baf831a32c ("mm, treewide: redefine MAX_ORDER sanely")
    Signed-off-by: Kuan-Ying Lee <kuan-ying.lee@canonical.com>
    Cc: Jan Kiszka <jan.kiszka@siemens.com>
    Cc: Kieran Bingham <kbingham@kernel.org>
    Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
    Cc: Michael Ellerman <mpe@ellerman.id.au>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

Signed-off-by: Rafael Aquini <raquini@redhat.com>
2025-04-18 08:39:49 -04:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Makefile kbuild: use always-y instead of extra-y 2021-02-16 12:01:45 +09:00
__init__.py
clk.py scripts/gdb: print cached rate in lx-clk-summary 2019-05-14 19:52:52 -07:00
config.py scripts/gdb: add kernel config dumping command 2019-05-14 19:52:51 -07:00
constants.py.in scripts/gdb/aarch64: add aarch64 page operation helper commands and configs 2024-10-31 10:35:27 -04:00
cpus.py scripts/gdb: fix 'lx-current' for x86 2023-06-30 20:32:15 -04:00
device.py scripts/gdb: add helpers to find and list devices 2019-07-16 19:23:24 -07:00
dmesg.py printk: move dictionary keys to dev_printk_info 2020-09-22 11:27:48 +02:00
genpd.py PM: domains: Fix up terminology with parent/child 2020-07-09 14:24:00 +02:00
lists.py scripts/gdb: fix list_for_each 2021-02-26 09:41:05 -08:00
mm.py scripts/gdb: redefine MAX_ORDER sanely 2025-04-18 08:39:49 -04:00
modules.py scripts/gdb: fix 'lx-lsmod' show the wrong size 2024-06-17 14:17:22 -04:00
pgtable.py scripts/gdb/aarch64: add aarch64 page operation helper commands and configs 2024-10-31 10:35:27 -04:00
proc.py scripts/gdb/proc: add struct mount & struct super_block addr in lx-mounts command 2020-10-16 11:11:22 -07:00
rbtree.py scripts/gdb: fix python 3.8 SyntaxWarning 2020-08-12 10:58:02 -07:00
symbols.py scripts/gdb: use mem instead of core_layout to get the module address 2024-06-17 14:17:22 -04:00
tasks.py scripts/gdb/tasks: add headers and improve spacing format 2020-10-16 11:11:22 -07:00
timerlist.py scripts/gdb: add a timer list command 2019-05-14 19:52:52 -07:00
utils.py scripts/gdb: add utils.read_ulong() 2020-09-08 09:33:15 +02:00