diff options
author | Rob Clark <robdclark@chromium.org> | 2025-01-03 18:13:45 +0300 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2025-01-03 18:13:45 +0300 |
commit | c5fb51b71788926feef0d07f30c8af1d5e4af1a6 (patch) | |
tree | 4f1b22e7cde61a76c6bd00c246265f3f2f166d79 /scripts/gdb/linux/modules.py | |
parent | a5463629299bc12d7a6308d20e662d5b36e10cb9 (diff) | |
parent | b44b9bc7cab2967c3d6a791b1cd542c89fc07f0e (diff) | |
download | linux-c5fb51b71788926feef0d07f30c8af1d5e4af1a6.tar.xz |
Merge remote-tracking branch 'pm/opp/linux-next' into HEAD
Merge pm/opp tree to get dev_pm_opp_get_bw()
Signed-off-by: Rob Clark <robdclark@chromium.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") |