summaryrefslogtreecommitdiff
path: root/net/mac80211/driver-trace.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-07-07 13:46:22 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-07-24 15:05:06 -0400
commit0a2b8bb24d4eb67788edd71d1ef8aa86c2e17e0f (patch)
tree515bc3db1f3d46ce967320b0bb9914ccd64fddbc /net/mac80211/driver-trace.c
parent99783e2cde6eccbd31efeb03a79f26bb5f239c36 (diff)
downloadlinux-exynos-0a2b8bb24d4eb67788edd71d1ef8aa86c2e17e0f.tar.gz
linux-exynos-0a2b8bb24d4eb67788edd71d1ef8aa86c2e17e0f.tar.bz2
linux-exynos-0a2b8bb24d4eb67788edd71d1ef8aa86c2e17e0f.zip
mac80211: driver operation debugging
This makes mac80211 use the event tracing framework to log all operations as given to the driver. This will need to be extended with more information, but as a start it should be good. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/driver-trace.c')
-rw-r--r--net/mac80211/driver-trace.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/mac80211/driver-trace.c b/net/mac80211/driver-trace.c
new file mode 100644
index 000000000000..6da6f79932fc
--- /dev/null
+++ b/net/mac80211/driver-trace.c
@@ -0,0 +1,6 @@
+/* bug in tracepoint.h, it should include this */
+#include <linux/module.h>
+
+#include "driver-ops.h"
+#define CREATE_TRACE_POINTS
+#include "driver-trace.h"