From cd02d305f5c194824616c4123de199ca3dcd822b Mon Sep 17 00:00:00 2001 From: Peter De Schrijver Date: Wed, 18 May 2011 11:10:08 +0300 Subject: ARM: tegra: power: trace C states and CPU mode switches Original-Change-Id: I7915d356f18ac830c93b736463406b907d8c1cef Signed-off-by: Peter De Schrijver Reviewed-on: http://git-master/r/31958 Reviewed-by: Niket Sirsi Tested-by: Niket Sirsi Rebase-Id: R341f7619d11f81fd7dfbab2ceb1c6fdaab6ead78 --- arch/arm/mach-tegra/cpuidle.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/arm/mach-tegra/cpuidle.c') diff --git a/arch/arm/mach-tegra/cpuidle.c b/arch/arm/mach-tegra/cpuidle.c index af4d09d52206..92fbc61f469d 100644 --- a/arch/arm/mach-tegra/cpuidle.c +++ b/arch/arm/mach-tegra/cpuidle.c @@ -40,6 +40,8 @@ #include #include +#include + #include "cpuidle.h" #include "pm.h" #include "sleep.h" @@ -60,6 +62,8 @@ static int tegra_idle_enter_lp3(struct cpuidle_device *dev, ktime_t enter, exit; s64 us; + trace_power_start(POWER_CSTATE, 1, dev->cpu); + local_irq_disable(); local_fiq_disable(); -- cgit v1.2.3