[PATCH 6/6] arm: omap: pm-debug: enhanced usecount debug support

Tony Lindgren tony at atomide.com
Tue Feb 14 15:27:40 EST 2012


* Tero Kristo <t-kristo at ti.com> [120214 08:19]:
> Voltdm, pwrdm, clkdm, hwmod and clk usecounts are now separeted to
> their own file, 'usecount'. This file shows the usecounts for every
> active domain and their children recursively. 'count' file now only
> shows power state counts for powerdomains.
> 
> This patch also provices a way to do printk dumps from kernel code,
> by calling the pm_dbg_dump_X functions. The plan is to call these
> functions once an error condition is detected, e.g. failed suspend.

Why don't you replace this all with a userspace tool that deciphers
the registers for you?

Tony



More information about the linux-arm-kernel mailing list