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
11 #include "trace_msg.h"
13 #ifdef CONFIG_MAC80211_MESSAGE_TRACING
14 void __sdata_info(const char *fmt, ...)
16 struct va_format vaf = {
25 trace_mac80211_info(&vaf);
29 void __sdata_dbg(bool print, const char *fmt, ...)
31 struct va_format vaf = {
40 pr_debug("%pV", &vaf);
41 trace_mac80211_dbg(&vaf);
45 void __sdata_err(const char *fmt, ...)
47 struct va_format vaf = {
56 trace_mac80211_err(&vaf);
60 void __wiphy_dbg(struct wiphy *wiphy, bool print, const char *fmt, ...)
62 struct va_format vaf = {
71 wiphy_dbg(wiphy, "%pV", &vaf);
72 trace_mac80211_dbg(&vaf);