]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - scripts/gdb/vmlinux-gdb.py
scripts/gdb: add lx-genpd-summary command
authorLeonard Crestez <leonard.crestez@nxp.com>
Tue, 16 Jul 2019 23:30:12 +0000 (16:30 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Jul 2019 02:23:24 +0000 (19:23 -0700)
commit8207d4a88e1ef4ab54f05f2f18edd444a5099099
treeec785611844b364066420c58e1620c479af6ebc8
parent5515e9a6273b8c02034466bcbd717ac9f53dab99
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>
scripts/gdb/linux/genpd.py [new file with mode: 0644]
scripts/gdb/vmlinux-gdb.py