brcmsmac: Move each system tracepoints to their own header
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Tue, 7 Apr 2015 16:08:37 +0000 (12:08 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 8 Apr 2015 13:39:31 +0000 (09:39 -0400)
commit6e9dd8ddbdbb3b7aeba7fd9b987579534cfc260b
tree9e4ecc449b7cacb53342c7477991099113e7370e
parentc5ef935d01a29211551073f2620c93ba5ca897c4
brcmsmac: Move each system tracepoints to their own header

Every tracing file must have its own TRACE_SYSTEM defined.
The brcmsmac tracepoint header broke this and added in the middle
of the file:

 #undef TRACE_SYSTEM
 #define TRACE_SYSTEM brcmsmac

 #undef TRACE_SYSTEM
 #define TRACE_SYSTEM brcmsmac_tx

 #undef TRACE_SYSTEM
 #define TRACE_SYSTEM brcmsmac_msg

Unfortunately, this broke new code in the ftrace infrastructure.
Moving each of these TRACE_SYSTEMs into their own trace file with
just one TRACE_SYSTEM per file fixes the issue.

Link: http://lkml.kernel.org/r/5524D99C.1050902@broadcom.com
Acked-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
drivers/net/wireless/brcm80211/brcmsmac/brcms_trace_brcmsmac.h [new file with mode: 0644]
drivers/net/wireless/brcm80211/brcmsmac/brcms_trace_brcmsmac_msg.h [new file with mode: 0644]
drivers/net/wireless/brcm80211/brcmsmac/brcms_trace_brcmsmac_tx.h [new file with mode: 0644]
drivers/net/wireless/brcm80211/brcmsmac/brcms_trace_events.h