diff options
author | Ingo Molnar <mingo@kernel.org> | 2024-12-02 11:52:59 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2024-12-02 11:52:59 +0100 |
commit | bcfd5f644c5b933cfb3c488220e40a03e011e8a4 (patch) | |
tree | 66717ce2352b3e9a14b94ffe804db93b073eb525 /scripts/gdb/linux/modules.py | |
parent | faac6f105ef169e2e5678c14e1ffebf2a7d780b6 (diff) | |
parent | 40384c840ea1944d7c5a392e8975ed088ecf0b37 (diff) |
Merge tag 'v6.13-rc1' into perf/core, to refresh the branch
Signed-off-by: Ingo Molnar <mingo@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") |