summaryrefslogtreecommitdiff
path: root/net/mac80211/trace.c
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2015-04-07 06:02:22 +0300
committerSteven Rostedt <rostedt@goodmis.org>2015-04-07 19:32:09 +0300
commit1bc1e4d048d372a0191e78124b247747864dfde3 (patch)
tree6303e0fe1a01336fe2dd5d0733ebfe9623d5b49b /net/mac80211/trace.c
parent7267b23859ba4188873e3d1c90c9b29031cc9356 (diff)
downloadlinux-1bc1e4d048d372a0191e78124b247747864dfde3.tar.xz
mac80211: Move message tracepoints to their own header
Every tracing file must have its own TRACE_SYSTEM defined. The mac80211 tracepoint header broke this and add in the middle of the file had: #undef TRACE_SYSTEM #define TRACE_SYSTEM mac80211_msg Unfortunately, this broke new code in the ftrace infrastructure. Moving the mac80211_msg into its own trace file with its own TRACE_SYSTEM defined fixes the issue. Link: http://lkml.kernel.org/r/1428389938.1841.1.camel@sipsolutions.net Reviewed-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'net/mac80211/trace.c')
-rw-r--r--net/mac80211/trace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/trace.c b/net/mac80211/trace.c
index 386e45d8a958..edfe0c170a1c 100644
--- a/net/mac80211/trace.c
+++ b/net/mac80211/trace.c
@@ -8,6 +8,7 @@
#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, ...)