Re: [PATCH] arm64: add cpu_idle tracepoints to arch_cpu_idle

2015-10-19 Thread Catalin Marinas
On Wed, Sep 16, 2015 at 10:23:21PM +0800, Jisheng Zhang wrote: > Currently, if cpuidle is disabled or not supported, powertop reports > zero wakeups and zero events. This is due to the cpu_idle tracepoints > are missing. > > This patch is to make cpu_idle tracepoints always available even if > cpu

Re: [PATCH] arm64: add cpu_idle tracepoints to arch_cpu_idle

2015-09-16 Thread Jisheng Zhang
On Wed, 16 Sep 2015 17:16:05 +0100 Lorenzo Pieralisi wrote: > On Wed, Sep 16, 2015 at 04:11:05PM +0100, Jisheng Zhang wrote: > > Dear Lorenzo, > > > > On Wed, 16 Sep 2015 22:53:12 +0800 > > Jisheng Zhang wrote: > > > > > Dear Lorenzo, > > > > > > On Wed, 16 Sep 2015 15:47:38 +0100 > > > Loren

Re: [PATCH] arm64: add cpu_idle tracepoints to arch_cpu_idle

2015-09-16 Thread Lorenzo Pieralisi
On Wed, Sep 16, 2015 at 04:11:05PM +0100, Jisheng Zhang wrote: > Dear Lorenzo, > > On Wed, 16 Sep 2015 22:53:12 +0800 > Jisheng Zhang wrote: > > > Dear Lorenzo, > > > > On Wed, 16 Sep 2015 15:47:38 +0100 > > Lorenzo Pieralisi wrote: > > > > > On Wed, Sep 16, 2015 at 03:23:21PM +0100, Jisheng

Re: [PATCH] arm64: add cpu_idle tracepoints to arch_cpu_idle

2015-09-16 Thread Jisheng Zhang
Dear Lorenzo, On Wed, 16 Sep 2015 22:53:12 +0800 Jisheng Zhang wrote: > Dear Lorenzo, > > On Wed, 16 Sep 2015 15:47:38 +0100 > Lorenzo Pieralisi wrote: > > > On Wed, Sep 16, 2015 at 03:23:21PM +0100, Jisheng Zhang wrote: > > > Currently, if cpuidle is disabled or not supported, powertop repor

Re: [PATCH] arm64: add cpu_idle tracepoints to arch_cpu_idle

2015-09-16 Thread Jisheng Zhang
Dear Lorenzo, On Wed, 16 Sep 2015 15:47:38 +0100 Lorenzo Pieralisi wrote: > On Wed, Sep 16, 2015 at 03:23:21PM +0100, Jisheng Zhang wrote: > > Currently, if cpuidle is disabled or not supported, powertop reports > > zero wakeups and zero events. This is due to the cpu_idle tracepoints > > are mi

Re: [PATCH] arm64: add cpu_idle tracepoints to arch_cpu_idle

2015-09-16 Thread Lorenzo Pieralisi
On Wed, Sep 16, 2015 at 03:23:21PM +0100, Jisheng Zhang wrote: > Currently, if cpuidle is disabled or not supported, powertop reports > zero wakeups and zero events. This is due to the cpu_idle tracepoints > are missing. > > This patch is to make cpu_idle tracepoints always available even if > cpu