#ifdef CONFIG_MAC80211_MESSAGE_TRACING

#if !defined(__MAC80211_MSG_DRIVER_TRACE) || defined(TRACE_HEADER_MULTI_READ)
#define __MAC80211_MSG_DRIVER_TRACE

#include <linux/tracepoint.h>
#include <net/mac80211.h>
#include "ieee80211_i.h"

#undef TRACE_SYSTEM
#define TRACE_SYSTEM mac80211_msg

#define MAX_MSG_LEN	100

DECLARE_EVENT_CLASS(mac80211_msg_event,
	TP_PROTO(struct va_format *vaf),

	TP_ARGS(vaf),

	TP_STRUCT__entry(
		__dynamic_array(char, msg, MAX_MSG_LEN)
	),

	TP_fast_assign(
		WARN_ON_ONCE(vsnprintf(__get_dynamic_array(msg),
				       MAX_MSG_LEN, vaf->fmt,
				       *vaf->va) >= MAX_MSG_LEN);
	),

	TP_printk("%s", __get_str(msg))
);

DEFINE_EVENT(mac80211_msg_event, mac80211_info,
	TP_PROTO(struct va_format *vaf),
	TP_ARGS(vaf)
);
DEFINE_EVENT(mac80211_msg_event, mac80211_dbg,
	TP_PROTO(struct va_format *vaf),
	TP_ARGS(vaf)
);
DEFINE_EVENT(mac80211_msg_event, mac80211_err,
	TP_PROTO(struct va_format *vaf),
	TP_ARGS(vaf)
);
#endif /* !__MAC80211_MSG_DRIVER_TRACE || TRACE_HEADER_MULTI_READ */

#undef TRACE_INCLUDE_PATH
#define TRACE_INCLUDE_PATH .
#undef TRACE_INCLUDE_FILE
#define TRACE_INCLUDE_FILE trace_msg
#include <trace/define_trace.h>

#endif
loop-back'>packet-loop-back</option>
<option value='packet-rx-pump-back'>packet-rx-pump-back</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table>
<table class='tabs'><tr><td>
<a href='/cgit.cgi/linux/net-next.git/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=5abf186a30a89d5b9c18a6bf93a2c192c9fd52f6'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/drivers/usb/host/ohci-st.c'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/drivers/usb/host/ohci-st.c?id=5abf186a30a89d5b9c18a6bf93a2c192c9fd52f6'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/drivers/usb/host/ohci-st.c?id=5abf186a30a89d5b9c18a6bf93a2c192c9fd52f6'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/drivers/usb/host/ohci-st.c?id=5abf186a30a89d5b9c18a6bf93a2c192c9fd52f6'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/drivers/usb/host/ohci-st.c'>
<input type='hidden' name='id' value='5abf186a30a89d5b9c18a6bf93a2c192c9fd52f6'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?id=5abf186a30a89d5b9c18a6bf93a2c192c9fd52f6'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/drivers?id=5abf186a30a89d5b9c18a6bf93a2c192c9fd52f6'>drivers</a>/<a href='/cgit.cgi/linux/net-next.git/log/drivers/usb?id=5abf186a30a89d5b9c18a6bf93a2c192c9fd52f6'>usb</a>/<a href='/cgit.cgi/linux/net-next.git/log/drivers/usb/host?id=5abf186a30a89d5b9c18a6bf93a2c192c9fd52f6'>host</a>/<a href='/cgit.cgi/linux/net-next.git/log/drivers/usb/host/ohci-st.c?id=5abf186a30a89d5b9c18a6bf93a2c192c9fd52f6'>ohci-st.c</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/drivers/usb/host/ohci-st.c?id=5abf186a30a89d5b9c18a6bf93a2c192c9fd52f6&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>