iwlwifi: Move each system tracepoints to their own header
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Tue, 7 Apr 2015 15:25:14 +0000 (11:25 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 8 Apr 2015 13:38:49 +0000 (09:38 -0400)
commitc5ef935d01a29211551073f2620c93ba5ca897c4
tree9f690b4c9789548b0487d1a688b1c5f5746461f9
parent1bc1e4d048d372a0191e78124b247747864dfde3
iwlwifi: Move each system tracepoints to their own header

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

 #undef TRACE_SYSTEM
 #define TRACE_SYSTEM iwlwifi_io

 #undef TRACE_SYSTEM
 #define TRACE_SYSTEM iwlwifi_ucode

 #undef TRACE_SYSTEM
 #define TRACE_SYSTEM iwlwifi_msg

 #undef TRACE_SYSTEM
 #define TRACE_SYSTEM iwlwifi_data

 #undef TRACE_SYSTEM
 #define TRACE_SYSTEM iwlwifi

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/1428479094.2809.3.camel@sipsolutions.net
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
drivers/net/wireless/iwlwifi/iwl-devtrace-data.h [new file with mode: 0644]
drivers/net/wireless/iwlwifi/iwl-devtrace-io.h [new file with mode: 0644]
drivers/net/wireless/iwlwifi/iwl-devtrace-iwlwifi.h [new file with mode: 0644]
drivers/net/wireless/iwlwifi/iwl-devtrace-msg.h [new file with mode: 0644]
drivers/net/wireless/iwlwifi/iwl-devtrace-ucode.h [new file with mode: 0644]
drivers/net/wireless/iwlwifi/iwl-devtrace.h