summaryrefslogtreecommitdiffstats
path: root/net/wireless/trace.c
diff options
context:
space:
mode:
authorBeni Lev <beni.lev@intel.com>2012-07-31 17:48:27 +0200
committerJohannes Berg <johannes.berg@intel.com>2012-10-18 10:53:37 +0200
commit14e8a3c47e808772a5ba8118ef1f9a8d604dbbe5 (patch)
tree58228452c7c533812adaae14520fe3f9379baa92 /net/wireless/trace.c
parentcfg80211: add wrappers for registered_device_ops (diff)
downloadlinux-14e8a3c47e808772a5ba8118ef1f9a8d604dbbe5.tar.xz
linux-14e8a3c47e808772a5ba8118ef1f9a8d604dbbe5.zip
cfg80211: add tracing to rdev-ops
Add tracing to make debugging cfg80211/mac80211 (or full-mac driver) interaction easier. Signed-off-by: Beni Lev <beni.lev@intel.com> Reviewed-by: Johannes Berg <johannes.berg@intel.com> Reviewed-by: Hila Gonen <hila.gonen@intel.com> Tested-by: Hila Gonen <hila.gonen@intel.com> Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> [add a cast to int to sizeof() to avoid warning] Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/trace.c')
-rw-r--r--net/wireless/trace.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/wireless/trace.c b/net/wireless/trace.c
new file mode 100644
index 000000000000..95f997fad755
--- /dev/null
+++ b/net/wireless/trace.c
@@ -0,0 +1,7 @@
+#include <linux/module.h>
+
+#ifndef __CHECKER__
+#define CREATE_TRACE_POINTS
+#include "trace.h"
+
+#endif