OMAP: Add debugfs node to show the summary of all clocks
authorJon Hunter <jon-hunter@ti.com>
Sun, 10 Jul 2011 11:57:33 +0000 (05:57 -0600)
committerPaul Walmsley <paul@pwsan.com>
Sun, 10 Jul 2011 11:57:33 +0000 (05:57 -0600)
commita53025724052b2b1edbc982a4a248784638f563d
treea9625e828c793d7b401db95eb0556fdd839ba46e
parentc84584139aaeef7631df152e13cbf319d8e55950
OMAP: Add debugfs node to show the summary of all clocks

Add a debugfs node called "summary" to /sys/kernel/debug/clock/
that displays a quick summary of all clocks registered in the
"clocks" structure. The format of the output from this node is:

<clock-name> <parent-name> <rate> <usecount>

This debugfs node was very helpful for taking a quick snapshot of
the linux clock tree for OMAP and ensuring clock frequencies
calculated by the kernel were indeed correct. This patch helped
uncover some bugs in the linux clock tree for OMAP4.

Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/plat-omap/clock.c
This page took 0.026114 seconds and 5 git commands to generate.