Re: [PATCH 2/3] scripts/gdb: Initial clk support: lx-clk-summary

2019-04-22 Thread Stephen Boyd
Quoting Leonard Crestez (2019-04-22 01:26:57) > + > + > +class LxClkSummary(gdb.Command): > +"""Print Linux kernel log buffer.""" This comment needs an update. > + > +def __init__(self): > +super(LxClkSummary, self).__init__("lx-clk-summary", > gdb.COMMAND_DATA) > + > +def

[PATCH 2/3] scripts/gdb: Initial clk support: lx-clk-summary

2019-04-22 Thread Leonard Crestez
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. Signed-off-by: Leonard Crestez --- scripts/gdb/linux/clk.py | 46 ++ scripts/gdb/vmlinux-gdb.py |