[PATCH] Add option to generate shell script from Tunables

2011-06-07 Thread Jan Kaluža
Hi, attached patch adds new -s (--script) option to generate shell script with commands to turn every Bad item from Tunables tab into Good state. It adds new tunable::toggle_script() method which returns command to switch state of particular tunable item and implements that method for all

Re: [PATCH] Add option to generate shell script from Tunables

2011-06-07 Thread Arjan van de Ven
On 6/7/2011 4:45 AM, Jan Kaluža wrote: Hi, attached patch adds new -s (--script) option to generate shell script with commands to turn every Bad item from Tunables tab into Good state. It adds new tunable::toggle_script() method which returns command to switch state of particular

Re: [PATCH] Add option to generate shell script from Tunables

2011-06-07 Thread Peter Hüwe
Am Dienstag 07 Juni 2011, 15:48:11 schrieb Arjan van de Ven: I'm open to suggestions. Hi, I would like some more opinions on this from people on the list. So initially my plan was to, instead of powertop show the shell tunables, document these in a website/document instead. That way

Re: [PATCH] Add option to generate shell script from Tunables

2011-06-07 Thread Jaroslav Skarvada
- Original Message - On 6/7/2011 4:45 AM, Jan Kaluža wrote: Hi, attached patch adds new -s (--script) option to generate shell script with commands to turn every Bad item from Tunables tab into Good state. It adds new tunable::toggle_script() method which returns command