]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/x86/kernel/process.c
tracing: convert c/p state power tracer to use tracepoints
[net-next-2.6.git] / arch / x86 / kernel / process.c
index e68bb9e30864e50e764ce2581484f53aef0bfdda..e0d0fd7ab514212b13b9c3809e4e6b50d2665d69 100644 (file)
@@ -8,7 +8,7 @@
 #include <linux/module.h>
 #include <linux/pm.h>
 #include <linux/clockchips.h>
-#include <linux/ftrace.h>
+#include <trace/power.h>
 #include <asm/system.h>
 #include <asm/apic.h>
 
@@ -19,6 +19,9 @@ EXPORT_SYMBOL(idle_nomwait);
 
 struct kmem_cache *task_xstate_cachep;
 
+DEFINE_TRACE(power_start);
+DEFINE_TRACE(power_end);
+
 int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src)
 {
        *dst = *src;