]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2fe85d288f1a2cb03202007db35b7210446ce2d2
treeec785611844b364066420c58e1620c479af6ebc8
parent5b4983dfc060aa3f65689349fc37d101af0487b0
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