Re: linaro powertop doesn't work well on a single core ARM SoC

2011-12-13 Thread Barry Song
ok now. the reason is the powertop depends on CONFIG_EVENT_POWER_TRACING_DEPRECATED, after selecting it, powertop gets to work on SiRFprimaII. Thanks barry 2011/12/14 Barry Song <21cn...@gmail.com>: > Hi Amit, > > Thanks! > > 2011/12/12 Amit Kachhap : >> Hi Barry, >> >> You fix for invalid cpu id l

Re: linaro powertop doesn't work well on a single core ARM SoC

2011-12-13 Thread Barry Song
Hi Amit, Thanks! 2011/12/12 Amit Kachhap : > Hi Barry, > > You fix for invalid cpu id looks fine. so will you merge some fixes into linaro tree? > As for the P states this new > powertop combines with the cpuidle numbers. so if the system is highly > idle it means processor is idle and hence P

Re: linaro powertop doesn't work well on a single core ARM SoC

2011-12-12 Thread Amit Kachhap
Hi Barry, You fix for invalid cpu id looks fine. As for the P states this new powertop combines with the cpuidle numbers. so if the system is highly idle it means processor is idle and hence P states is shown as 0. Thanks, Amit Daniel On 12 December 2011 15:55, Barry Song <21cn...@gmail.com> wr

linaro powertop doesn't work well on a single core ARM SoC

2011-12-12 Thread Barry Song
Hi Tony/Amit, anybody has tried to use powertop from linaro on a single core ARM SoC? What i am using is git://android.git.linaro.org/platform/external/powertop.git. I got two questions: 1. powertop will crash in handle_one_cpu() due to it gets wrong cpu number(-1), then i made the following change