ARM: etm: Power down etm(s) when tracing is not enabled
authorArve Hjønnevåg <arve@android.com>
Thu, 24 Feb 2011 00:51:58 +0000 (16:51 -0800)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:08:09 +0000 (12:08 -0800)
commita730e381fd4b77f6d509f97fab68ddc58ec307bf
tree2edf9083ac16dcb5a599e393846f51ebea96fa2f
parent081abbaffac37d626f1a9da075536ab80adb1d38
ARM: etm: Power down etm(s) when tracing is not enabled

Without this change a saw an 18% increase in idle power consumption
on one deivce when trace support is compiled into the kernel. Now
I see the same increase only when tracing.

Change-Id: I21bb5ecf1b7d29ce3790ceeb5323409cc22d5a3b
Signed-off-by: Arve Hjønnevåg <arve@android.com>
arch/arm/kernel/etm.c