On 21 August 2014 09:43, Daniel Lezcano daniel.lezcano@linaro.org wrote:
On 08/19/2014 09:22 AM, pi-cheng.chen wrote:
Currently the serial terminal connected to the boards running idlestat are restricted to be at least 80 characters wide to output the report. Otherwise idlestat quits with message "The terminal must be at least 80 columns wide".
Fix it by adding a "-o" option to save report output to a file.
Yes, but please do it in the unix way.
- open file
- close stdout
- dup[2] opened file to stdout (fd 1)
- close opened file
So no need to change all the code around.
Thanks -- Daniel
Thanks for your comments. I'll do it in next version.
Pi-Cheng