1 /* bug in tracepoint.h, it should include this */
2 #include <linux/module.h>
4 /* sparse isn't too happy with all macros... */
6 #include <net/cfg80211.h>
7 #include "driver-ops.h"
9 #define CREATE_TRACE_POINTS
12 #ifdef CONFIG_MAC80211_MESSAGE_TRACING
13 void __sdata_info(const char *fmt
, ...)
15 struct va_format vaf
= {
24 trace_mac80211_info(&vaf
);
28 void __sdata_dbg(bool print
, const char *fmt
, ...)
30 struct va_format vaf
= {
39 pr_debug("%pV", &vaf
);
40 trace_mac80211_dbg(&vaf
);
44 void __sdata_err(const char *fmt
, ...)
46 struct va_format vaf
= {
55 trace_mac80211_err(&vaf
);
59 void __wiphy_dbg(struct wiphy
*wiphy
, bool print
, const char *fmt
, ...)
61 struct va_format vaf
= {
70 wiphy_dbg(wiphy
, "%pV", &vaf
);
71 trace_mac80211_dbg(&vaf
);