ARM: tegra: add powergating trace event
authorPeter De Schrijver <pdeschrijver@nvidia.com>
Fri, 27 Apr 2012 13:52:16 +0000 (16:52 +0300)
committerVarun Wadekar <vwadekar@nvidia.com>
Fri, 4 May 2012 14:18:03 +0000 (19:18 +0530)
commitd8d053900474d78eca154d858f5b18f23dd44423
tree8a7970081e89b377cbd8813833410735fef6bec4
parent02f732e84e90bf87ca79d1adf0fd51c833661d36
ARM: tegra: add powergating trace event

Add a trace event for powergating. The existing power_domain_target is used.
state 0 is used for off and state 1 is used for on. This patch only traces
non CPU domains. The powerstate of CPU domains is already traced using
power_start events.

bug 976845

Change-Id: Ic9503f7b42b35c0bf70c7b64a7f15c4960637200
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/99416
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Antti Miettinen <amiettinen@nvidia.com>
Reviewed-by: Matthew Longnecker <mlongnecker@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
arch/arm/mach-tegra/powergate.c