2 #define TRACE_SYSTEM power
4 #if !defined(_TRACE_POWER_H) || defined(TRACE_HEADER_MULTI_READ)
32 TP_PROTO(
unsigned int state,
unsigned int cpu_id),
38 #ifndef _PWR_EVENT_AVOID_DOUBLE_DEFINING
39 #define _PWR_EVENT_AVOID_DOUBLE_DEFINING
41 #define PWR_EVENT_EXIT -1
90 TP_PROTO(
const char *name,
unsigned int state),
97 TP_PROTO(
const char *name,
unsigned int state),
102 #ifdef CONFIG_EVENT_POWER_TRACING_DEPRECATED
110 TP_PROTO(
unsigned int type,
unsigned int state,
unsigned int cpu_id),
132 TP_PROTO(
unsigned int type,
unsigned int state,
unsigned int cpu_id),
139 TP_PROTO(
unsigned int type,
unsigned int state,
unsigned int cpu_id),
163 #ifndef _PWR_EVENT_AVOID_DOUBLE_DEFINING_DEPRECATED
164 #define _PWR_EVENT_AVOID_DOUBLE_DEFINING_DEPRECATED
175 #ifndef _PWR_EVENT_AVOID_DOUBLE_DEFINING_DEPRECATED
176 #define _PWR_EVENT_AVOID_DOUBLE_DEFINING_DEPRECATED
185 static inline void trace_power_start(
u64 type,
u64 state,
u64 cpuid) {};
186 static inline void trace_power_end(
u64 cpuid) {};
187 static inline void trace_power_start_rcuidle(
u64 type,
u64 state,
u64 cpuid) {};
188 static inline void trace_power_end_rcuidle(
u64 cpuid) {};
189 static inline void trace_power_frequency(
u64 type,
u64 state,
u64 cpuid) {};
200 TP_PROTO(
const char *name,
unsigned int state,
unsigned int cpu_id),
222 TP_PROTO(
const char *name,
unsigned int state,
unsigned int cpu_id),
229 TP_PROTO(
const char *name,
unsigned int state,
unsigned int cpu_id),
236 TP_PROTO(
const char *name,
unsigned int state,
unsigned int cpu_id),
246 TP_PROTO(
const char *name,
unsigned int state,
unsigned int cpu_id),
268 TP_PROTO(
const char *name,
unsigned int state,
unsigned int cpu_id),