diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-17 13:41:12 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-17 13:41:12 +0300 |
commit | c52eb03bad3cc2ca76edc938a5d302faafeaf165 (patch) | |
tree | 9273da72f374be94a9c2384a32ae56e6d85cc3b9 /scripts/gdb/linux/modules.py | |
parent | ac3a848b893c02d5133138537eda87730b40d63d (diff) | |
parent | 4e3ac4150cbd02585dc5cd1b4a25b8519a57c6a2 (diff) | |
download | linux-c52eb03bad3cc2ca76edc938a5d302faafeaf165.tar.xz |
Merge v6.13.3
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.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") |