#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
ove</option>
<option value='packet-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/?h=nds-private-remove'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?h=nds-private-remove&amp;id=b45242c99f503d0a526c2b1f647ad562f9cf9dd5'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/include/uapi/xen/gntalloc.h?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/include/uapi/xen/gntalloc.h?h=nds-private-remove&amp;id=b45242c99f503d0a526c2b1f647ad562f9cf9dd5'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/include/uapi/xen/gntalloc.h?h=nds-private-remove&amp;id=b45242c99f503d0a526c2b1f647ad562f9cf9dd5'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/include/uapi/xen/gntalloc.h?h=nds-private-remove&amp;id=b45242c99f503d0a526c2b1f647ad562f9cf9dd5'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/include/uapi/xen/gntalloc.h'>
<input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='b45242c99f503d0a526c2b1f647ad562f9cf9dd5'/><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/?h=nds-private-remove&amp;id=b45242c99f503d0a526c2b1f647ad562f9cf9dd5'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/include?h=nds-private-remove&amp;id=b45242c99f503d0a526c2b1f647ad562f9cf9dd5'>include</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/uapi?h=nds-private-remove&amp;id=b45242c99f503d0a526c2b1f647ad562f9cf9dd5'>uapi</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/uapi/xen?h=nds-private-remove&amp;id=b45242c99f503d0a526c2b1f647ad562f9cf9dd5'>xen</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/uapi/xen/gntalloc.h?h=nds-private-remove&amp;id=b45242c99f503d0a526c2b1f647ad562f9cf9dd5'>gntalloc.h</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/include/uapi/xen/gntalloc.h?h=nds-private-remove&amp;id=b45242c99f503d0a526c2b1f647ad562f9cf9dd5&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>