scripts/gdb: initial clk support: lx-clk-summary
authorLeonard Crestez <leonard.crestez@nxp.com>
Tue, 14 May 2019 22:46:08 +0000 (15:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 15 May 2019 02:52:52 +0000 (19:52 -0700)
commitd1e9710b63d87209e1a14d6e6d8cf1431d8daa31
treebb0dee8f2c372b871cf590f8b4441fbd0f8252b4
parent47d0d12855c9eee9dac72d2359f2ccfac3f7f501
scripts/gdb: initial clk support: lx-clk-summary

Add an lx-clk-summary command which prints a subset of
/sys/kernel/debug/clk/clk_summary.

This can be used to examine hangs caused by clk not being enabled.

Link: http://lkml.kernel.org/r/Message-ID:
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Cc: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Jason Wessel <jason.wessel@windriver.com>
Cc: Kieran Bingham <kbingham@kernel.org>
Cc: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/gdb/linux/clk.py [new file with mode: 0644]
scripts/gdb/vmlinux-gdb.py