summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-tegra/powergate.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/powergate.c b/arch/arm/mach-tegra/powergate.c
index 76d264fcad0e..27bc3fc67e48 100644
--- a/arch/arm/mach-tegra/powergate.c
+++ b/arch/arm/mach-tegra/powergate.c
@@ -27,6 +27,7 @@
#include <linux/io.h>
#include <linux/seq_file.h>
#include <linux/spinlock.h>
+#include <trace/events/power.h>
#include <mach/clk.h>
#include <mach/iomap.h>
@@ -460,6 +461,9 @@ static int tegra_powergate_set(int id, bool new_state)
return -EBUSY;
}
+ trace_power_domain_target(powergate_partition_info[id].name, new_state,
+ smp_processor_id());
+
return 0;
}