diff options
Diffstat (limited to 'net/mac80211/driver-trace.h')
-rw-r--r-- | net/mac80211/driver-trace.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net/mac80211/driver-trace.h b/net/mac80211/driver-trace.h index d1f017a11988..7c0754bed61b 100644 --- a/net/mac80211/driver-trace.h +++ b/net/mac80211/driver-trace.h | |||
@@ -171,6 +171,20 @@ DEFINE_EVENT(local_only_evt, drv_resume, | |||
171 | TP_ARGS(local) | 171 | TP_ARGS(local) |
172 | ); | 172 | ); |
173 | 173 | ||
174 | TRACE_EVENT(drv_set_wakeup, | ||
175 | TP_PROTO(struct ieee80211_local *local, bool enabled), | ||
176 | TP_ARGS(local, enabled), | ||
177 | TP_STRUCT__entry( | ||
178 | LOCAL_ENTRY | ||
179 | __field(bool, enabled) | ||
180 | ), | ||
181 | TP_fast_assign( | ||
182 | LOCAL_ASSIGN; | ||
183 | __entry->enabled = enabled; | ||
184 | ), | ||
185 | TP_printk(LOCAL_PR_FMT " enabled:%d", LOCAL_PR_ARG, __entry->enabled) | ||
186 | ); | ||
187 | |||
174 | DEFINE_EVENT(local_only_evt, drv_stop, | 188 | DEFINE_EVENT(local_only_evt, drv_stop, |
175 | TP_PROTO(struct ieee80211_local *local), | 189 | TP_PROTO(struct ieee80211_local *local), |
176 | TP_ARGS(local) | 190 | TP_ARGS(local) |