]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf60991662ca03a750a38e333a7057123012d418e
treea18dafbef893697c88f27bac2a694a13d7e52488
parenta2e6b2be8b9dfc985ec8f49323900d8f65b9d6a3
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