Go to the documentation of this file.
6 #include <linux/types.h>
8 extern int pm_trace_enabled;
10 static inline int pm_trace_is_enabled(
void)
12 return pm_trace_enabled;
20 #define TRACE_DEVICE(dev) do { \
21 if (pm_trace_enabled) \
22 set_trace_device(dev); \
27 static inline int pm_trace_is_enabled(
void) {
return 0; }
29 #define TRACE_DEVICE(dev) do { } while (0)
30 #define TRACE_RESUME(dev) do { } while (0)