4 #include <linux/ktime.h>
13 #ifdef CONFIG_POWER_TRACER
21 #ifdef CONFIG_POWER_TRACER
22 extern void trace_power_start(struct power_trace *it, unsigned int type,
24 extern void trace_power_mark(struct power_trace *it, unsigned int type,
26 extern void trace_power_end(struct power_trace *it);
28 static inline void trace_power_start(struct power_trace *it, unsigned int type,
29 unsigned int state) { }
30 static inline void trace_power_mark(struct power_trace *it, unsigned int type,
31 unsigned int state) { }
32 static inline void trace_power_end(struct power_trace *it) { }
35 #endif /* _TRACE_POWER_H */