aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorFlorian Fainelli <[email protected]>2023-03-23 16:16:57 -0700
committerAndrew Morton <[email protected]>2023-04-08 13:45:38 -0700
commitf19c3c2959e465209ade1a7a699e6cbf4359ce78 (patch)
treee3ac6da854f6cd15d1f737fa5723b0fe00fe6951 /scripts/gdb/linux/timerlist.py
parent1d7adbc74c009057ed9dc3112f388e91a9c79acc (diff)
scripts/gdb: bail early if there are no generic PD
Avoid generating an exception if there are no generic power domain(s) registered: (gdb) lx-genpd-summary domain status children /device runtime status ---------------------------------------------------------------------- Python Exception <class 'gdb.error'>: No symbol "gpd_list" in current context. Error occurred in Python: No symbol "gpd_list" in current context. (gdb) quit [[email protected]: correctly invoke gdb_eval_or_none] Link: https://lkml.kernel.org/r/[email protected] Link: https://lkml.kernel.org/r/[email protected] Fixes: 8207d4a88e1e ("scripts/gdb: add lx-genpd-summary command") Signed-off-by: Florian Fainelli <[email protected]> Cc: Jan Kiszka <[email protected]> Cc: Kieran Bingham <[email protected]> Cc: Leonard Crestez <[email protected]> Cc: Stephen Boyd <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions