diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2024-10-01 19:09:41 +0300 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2024-10-01 19:09:41 +0300 |
commit | 2cd86f02c017bf9733e5cd891381b7d40f6f37ad (patch) | |
tree | 839e63bdf31a2d1ec68fa8d6fb8dc821f8fcf243 /scripts/gdb/linux/proc.py | |
parent | abf201f6ce14c4ceeccde5471bdf59614b83a3d8 (diff) | |
parent | 43102a2012c2e2f8424d7eef52aede8e73cf2fed (diff) | |
download | linux-2cd86f02c017bf9733e5cd891381b7d40f6f37ad.tar.xz |
Merge remote-tracking branch 'drm/drm-fixes' into drm-misc-fixes
Required for a panthor fix that broke when
FOP_UNSIGNED_OFFSET was added in place of FMODE_UNSIGNED_OFFSET.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
-rw-r--r-- | scripts/gdb/linux/proc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/gdb/linux/proc.py b/scripts/gdb/linux/proc.py index 43c687e7a69d..65dd1bd12964 100644 --- a/scripts/gdb/linux/proc.py +++ b/scripts/gdb/linux/proc.py @@ -18,6 +18,7 @@ from linux import utils from linux import tasks from linux import lists from linux import vfs +from linux import rbtree from struct import * @@ -172,8 +173,7 @@ values of that process namespace""" gdb.write("{:^18} {:^15} {:>9} {} {} options\n".format( "mount", "super_block", "devname", "pathname", "fstype")) - for mnt in lists.list_for_each_entry(namespace['list'], - mount_ptr_type, "mnt_list"): + for mnt in rbtree.rb_inorder_for_each_entry(namespace['mounts'], mount_ptr_type, "mnt_node"): devname = mnt['mnt_devname'].string() devname = devname if devname else "none" |