[PATCH] C-State display fix, readdir to scandir for alpha sort

Woodruff, Richard r-woodruff2 at ti.com
Fri Apr 11 13:27:19 PDT 2008


Arjan,

I just pulled the 1.10 candidate from svn.

This patch to PowerTop:
	- Allows it to display a definable number of C-States
	- Converts readdir to scandir for c-state directory reads to
ensure alpha ordering
	- Increments release number to 1.10 to match Changelog
	- Wrappers ncurses window calls which can fail on some builds
with -d option.
	* Tested both on X86 boards and TI-ARM

Please comment if something seems wrong.

I've copied Kevin as one bit is a fix to his previous patch and Petter
has he was looking at doing some of the same for another platform.

Regards,
Richard W.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ptop_1_10-cstate-sort.diff
Type: application/octet-stream
Size: 11439 bytes
Desc: ptop_1_10-cstate-sort.diff
Url : http://www.bughost.org/pipermail/power/attachments/20080411/c47a13b3/attachment.obj 


More information about the Power mailing list