summaryrefslogtreecommitdiffstats
path: root/scripts/gdb/vmlinux-gdb.py
diff options
context:
space:
mode:
authorLeonard Crestez <leonard.crestez@nxp.com>2019-07-17 01:30:12 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2019-07-17 04:23:24 +0200
commit8207d4a88e1ef4ab54f05f2f18edd444a5099099 (patch)
treeec785611844b364066420c58e1620c479af6ebc8 /scripts/gdb/vmlinux-gdb.py
parentdrivers/pps/pps.c: clear offset flags in PPS_SETPARAMS ioctl (diff)
downloadlinux-8207d4a88e1ef4ab54f05f2f18edd444a5099099.tar.xz
linux-8207d4a88e1ef4ab54f05f2f18edd444a5099099.zip
scripts/gdb: add lx-genpd-summary command
This is like /sys/kernel/debug/pm/pm_genpd_summary except it's accessible through a debugger. This can be useful if the target crashes or hangs because power domains were not properly enabled. Link: http://lkml.kernel.org/r/f9ee627a0d4f94b894aa202fee8a98444049bed8.1561492937.git.leonard.crestez@nxp.com Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com> Reviewed-by: Stephen Boyd <sboyd@kernel.org> Cc: Kieran Bingham <kbingham@kernel.org> Cc: Jan Kiszka <jan.kiszka@siemens.com> Cc: "Rafael J. Wysocki" <rafael@kernel.org> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--scripts/gdb/vmlinux-gdb.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/gdb/vmlinux-gdb.py b/scripts/gdb/vmlinux-gdb.py
index eff5a48ac026..a504f511e752 100644
--- a/scripts/gdb/vmlinux-gdb.py
+++ b/scripts/gdb/vmlinux-gdb.py
@@ -35,3 +35,4 @@ else:
import linux.constants
import linux.timerlist
import linux.clk
+ import linux.genpd