[PATCH] only refresh when the clock tree is changed in debugfs

2011-03-17 Thread yong . shen
From: Yong Shen add a inotify watch on clock tree, only when clock tree is changed, the clock info structure is rebuild and screen will be refreshed. Signed-off-by: Yong Shen --- clocks.c | 51 +++ powerdebug.c |6 +- powerdebug.h |

[PATCH] only refresh when the clock tree is changed in debugfs

2011-03-17 Thread yong . shen
This patch is for working item "Allocate the data structures only once instead of at every refresh" at https://blueprints.edge.launchpad.net/linaro-pm-wg/+spec/a-new-tool-to-display-arm-specific-info. source code: http://git.linaro.org/gitweb?p=tools/powerdebug.git;a=summary git tree: git://git.