linux/scripts/gdb/linux
Florian Fainelli 79300ac805 scripts/gdb: fix dentry_name() lookup
The "d_iname" member was replaced with "d_shortname.string" in the commit
referenced in the Fixes tag.  This prevented the GDB script "lx-mount"
command to properly function:

(gdb) lx-mounts
      mount          super_block     devname pathname fstype options
0xff11000002d21180 0xff11000002d24800 rootfs / rootfs rw 0 0
0xff11000002e18a80 0xff11000003713000 /dev/root / ext4 rw,relatime 0 0
Python Exception <class 'gdb.error'>: There is no member named d_iname.
Error occurred in Python: There is no member named d_iname.

Link: https://lkml.kernel.org/r/20250619225105.320729-1-florian.fainelli@broadcom.com
Fixes: 58cf9c383c ("dcache: back inline names with a struct-wrapped array of unsigned long")
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Jan Kara <jack@suse.cz>
Cc: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Jeff Layton <jlayton@kernel.org>
Cc: Kieran Bingham <kbingham@kernel.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-06-25 15:55:03 -07:00
..
.gitignore
__init__.py
clk.py scripts/gdb: bail early if there are no clocks 2023-04-08 13:45:38 -07:00
config.py
constants.py.in S390: 2024-03-15 13:03:13 -07:00
cpus.py scripts/gdb: update documentation for lx_per_cpu 2025-05-11 17:54:13 -07:00
device.py scripts/gdb: fix lx-device-list-bus and lx-device-list-class 2023-12-06 16:12:49 -08:00
dmesg.py
genpd.py scripts/gdb: bail early if there are no generic PD 2023-04-08 13:45:38 -07:00
interrupts.py genirq: Convert kstat_irqs to a struct 2024-04-12 17:08:05 +02:00
kasan.py scripts/gdb: add 'lx-kasan_mem_to_shadow' command 2024-09-01 20:43:29 -07:00
lists.py
Makefile kbuild: scripts/gdb: bring the "abspath" back 2024-06-27 04:20:32 +09:00
mm.py scripts/gdb: change VA_BITS_MIN when we use 16K page 2024-06-28 19:36:29 -07:00
modules.py gdb: lx-symbols: do not error out on monolithic build 2024-11-14 22:51:14 -08:00
page_owner.py scripts/gdb: remove exception handling and refine print format 2023-12-10 17:21:49 -08:00
pgtable.py x86/mm/64: Always use dynamic memory layout 2025-05-17 10:33:44 +02:00
proc.py scripts/gdb: fix lx-mounts command error 2024-09-01 20:43:28 -07:00
radixtree.py scripts/gdb: add a Radix Tree Parser 2023-04-18 16:39:33 -07:00
rbtree.py scripts/gdb: add iteration function for rbtree 2024-09-01 20:43:28 -07:00
slab.py scripts/gdb: remove exception handling and refine print format 2023-12-10 17:21:49 -08:00
stackdepot.py scripts/gdb: add 'lx-stack_depot_lookup' command. 2024-09-01 20:43:28 -07:00
symbols.py scripts/gdb/symbols: determine KASLR offset on s390 during early boot 2025-05-21 10:48:25 -07:00
tasks.py scripts/gdb: make get_thread_info accept pointers 2024-05-08 08:41:28 -07:00
timerlist.py scripts/gdb: fix timerlist parsing issue 2024-09-01 20:43:28 -07:00
utils.py scripts/gdb/symbols: factor out pagination_off() 2025-05-21 10:48:24 -07:00
vfs.py scripts/gdb: fix dentry_name() lookup 2025-06-25 15:55:03 -07:00
vmalloc.py scripts/gdb/vmalloc: fix vmallocinfo error 2024-02-21 16:00:02 -08:00