diff options
author | Maxime Ripard <mripard@kernel.org> | 2024-12-02 12:44:18 +0100 |
---|---|---|
committer | Maxime Ripard <mripard@kernel.org> | 2024-12-02 12:44:18 +0100 |
commit | 3aba2eba84e0219fb66061359052be81bd883d53 (patch) | |
tree | 36da31539acaa6c360d0b606103d90926ac04e50 /scripts/gdb/linux/modules.py | |
parent | 44cff6c5b0b17a78bc0b30372bcd816cf6dd282a (diff) | |
parent | 40384c840ea1944d7c5a392e8975ed088ecf0b37 (diff) |
Merge drm/drm-next into drm-misc-next
Kickstart 6.14 cycle.
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
-rw-r--r-- | scripts/gdb/linux/modules.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/gdb/linux/modules.py b/scripts/gdb/linux/modules.py index 298dfcc25eae..fa15f872ddbe 100644 --- a/scripts/gdb/linux/modules.py +++ b/scripts/gdb/linux/modules.py @@ -19,6 +19,9 @@ from linux import cpus, utils, lists, constants module_type = utils.CachedType("struct module") +def has_modules(): + return utils.gdb_eval_or_none("modules") is not None + def module_list(): global module_type modules = utils.gdb_eval_or_none("modules") |