diff options
| author | Kuan-Ying Lee <[email protected]> | 2024-07-23 06:48:59 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-09-02 03:43:28 +0000 |
| commit | 4b183f613924ad536be2f8bd12b307e9c5a96bf6 (patch) | |
| tree | 0c988f88e5e3574337f9df59d1f8571e58441187 /scripts/gdb/vmlinux-gdb.py | |
| parent | scripts/gdb: add iteration function for rbtree (diff) | |
| download | kernel-4b183f613924ad536be2f8bd12b307e9c5a96bf6.tar.gz kernel-4b183f613924ad536be2f8bd12b307e9c5a96bf6.zip | |
scripts/gdb: fix lx-mounts command error
(gdb) lx-mounts
mount super_block devname pathname fstype options
Python Exception <class 'gdb.error'>: There is no member named list.
Error occurred in Python: There is no member named list.
We encounter the above issue after commit 2eea9ce4310d ("mounts: keep
list of mounts in an rbtree"). The commit move a mount from list into
rbtree.
So we can instead use rbtree to iterate all mounts information.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 2eea9ce4310d ("mounts: keep list of mounts in an rbtree")
Signed-off-by: Kuan-Ying Lee <[email protected]>
Cc: Jan Kiszka <[email protected]>
Cc: Kieran Bingham <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions
