arm64: add cpu_idle tracepoints to arch_cpu_idle
authorJisheng Zhang <jszhang@marvell.com>
Wed, 16 Sep 2015 14:23:21 +0000 (22:23 +0800)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 19 Oct 2015 17:43:41 +0000 (18:43 +0100)
commit096b3224d5e7239ec3e5033bbc7612ac2d5dec3a
treea18dafbef893697c88f27bac2a694a13d7e52488
parent215399392fe40f33880ea9de49a1ed8ee26edd10
arm64: add cpu_idle tracepoints to arch_cpu_idle

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
cpuidle is disabled or not supported.

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/process.c