On (05/21/13 12:20), Ganapati Bhat wrote:
Powertop --html is working fine with the patch applied. I am able to
successfully execute the command and get the results. However, still
trying to understand the patch and the difference when I changed the 0 to
len in while (mbstowcs(NULL,buffer,0) < len) inside src/lib.cpp file.
Now, will try to adopt the latest version of powertop for android.
Thanks for all the help and sorry for the delay.
Kristen, could you please take a look if we can land it in upcoming
Reported-and-Tested-by: Ganapati Bhat <life.mytake(a)gmail.com>
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky(a)gmail.com>
On Tue, May 21, 2013 at 11:23 AM, Ganapati Bhat
I am really sorry. i was involved in some other tasks. Will get back to
you in a couple of days.
On Mon, May 20, 2013 at 6:56 PM, Sergey Senozhatsky
On (02/28/13 14:45), Ganapati Bhat wrote:
> Dear All,
> I was compiling powertop as an Android external module and using
> option powertop --html. However, there used to be a segmentation
> When i looked into it, I observed that in the function
> src/lib.cpp, the last�argument�to mbstows was zero. By changing
> argument to len, which is itself an argument to the function
> powertop worked properly? Does this also happen on an x86
machine? ( I am
> unable to verify this due to some problems in my laptop which I
> yet resolved.) If not then can someone explain to me why is it
> in the case of android?
> Thanks and Regards,
did you have any chance to test the patch?
> PowerTop mailing list