/* bug in tracepoint.h, it should include this */ #include /* sparse isn't too happy with all macros... */ #ifndef __CHECKER__ #include #include "driver-ops.h" #include "debug.h" #define CREATE_TRACE_POINTS #include "trace.h" #include "trace_msg.h" #ifdef CONFIG_MAC80211_MESSAGE_TRACING void __sdata_info(const char *fmt, ...) { struct va_format vaf = { .fmt = fmt, }; va_list args; va_start(args, fmt); vaf.va = &args; pr_info("%pV", &vaf); trace_mac80211_info(&vaf); va_end(args); } void __sdata_dbg(bool print, const char *fmt, ...) { struct va_format vaf = { .fmt = fmt, }; va_list args; va_start(args, fmt); vaf.va = &args; if (print) pr_debug("%pV", &vaf); trace_mac80211_dbg(&vaf); va_end(args); } void __sdata_err(const char *fmt, ...) { struct va_format vaf = { .fmt = fmt, }; va_list args; va_start(args, fmt); vaf.va = &args; pr_err("%pV", &vaf); trace_mac80211_err(&vaf); va_end(args); } void __wiphy_dbg(struct wiphy *wiphy, bool print, const char *fmt, ...) { struct va_format vaf = { .fmt = fmt, }; va_list args; va_start(args, fmt); vaf.va = &args; if (print) wiphy_dbg(wiphy, "%pV", &vaf); trace_mac80211_dbg(&vaf); va_end(args); } #endif #endif e='packet-loop-back'>packet-loop-back net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2017-02-07 10:40:50 +0100
committerJohannes Berg <johannes.berg@intel.com>2017-02-07 10:40:50 +0100
commitbddb2afcb6c52a545f18fb9bcd4829828ebf4a3a (patch)
tree0021fe481f8acf3694d92d72f3dd1b2a71a20ca3 /net/bluetooth/hci_request.h
parent228c8c6b1f4376788e9d5ab00d50b10228eb40d3 (diff)
mac80211: add back lost debugfs files
Somehow these files were never present or lost, but the code is there and they seem somewhat useful, so add them back. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/bluetooth/hci_request.h')