summaryrefslogtreecommitdiffstats
path: root/scripts/gdb/vmlinux-gdb.py
diff options
context:
space:
mode:
authorLeonard Crestez <leonard.crestez@nxp.com>2019-05-15 00:46:08 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2019-05-15 04:52:52 +0200
commitd1e9710b63d87209e1a14d6e6d8cf1431d8daa31 (patch)
treebb0dee8f2c372b871cf590f8b4441fbd0f8252b4 /scripts/gdb/vmlinux-gdb.py
parentscripts/gdb: add hlist utilities (diff)
downloadlinux-d1e9710b63d87209e1a14d6e6d8cf1431d8daa31.tar.xz
linux-d1e9710b63d87209e1a14d6e6d8cf1431d8daa31.zip
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>
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 033578cc4cd7..eff5a48ac026 100644
--- a/scripts/gdb/vmlinux-gdb.py
+++ b/scripts/gdb/vmlinux-gdb.py
@@ -34,3 +34,4 @@ else:
import linux.proc
import linux.constants
import linux.timerlist
+ import linux.clk