mac80211: Move message tracepoints to their own header
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Tue, 7 Apr 2015 03:02:22 +0000 (23:02 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 7 Apr 2015 16:32:09 +0000 (12:32 -0400)
commit1bc1e4d048d372a0191e78124b247747864dfde3
tree6303e0fe1a01336fe2dd5d0733ebfe9623d5b49b
parent7267b23859ba4188873e3d1c90c9b29031cc9356
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>
net/mac80211/trace.c
net/mac80211/trace.h
net/mac80211/trace_msg.h [new file with mode: 0644]