summaryrefslogtreecommitdiff
path: root/net/mac802154/trace.c
diff options
context:
space:
mode:
authorVarka Bhadram <varkabhadram@gmail.com>2015-06-01 11:52:26 +0300
committerMarcel Holtmann <marcel@holtmann.org>2015-06-02 20:21:09 +0300
commit0ecc4e688b6e33f8314c2b074335e134e0b2c4ae (patch)
tree728d3f68106b1eacf89010869da2a013fdd9e0f9 /net/mac802154/trace.c
parent1caf6f476e90f592c2502a82bdef423cf950d011 (diff)
downloadlinux-0ecc4e688b6e33f8314c2b074335e134e0b2c4ae.tar.xz
mac802154: add trace functionality for driver ops
This patch adds trace events for driver operations. Signed-off-by: Varka Bhadram <varkab@cdac.in> Acked-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/mac802154/trace.c')
-rw-r--r--net/mac802154/trace.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/net/mac802154/trace.c b/net/mac802154/trace.c
new file mode 100644
index 000000000000..863e5e6b983d
--- /dev/null
+++ b/net/mac802154/trace.c
@@ -0,0 +1,9 @@
+#include <linux/module.h>
+
+#ifndef __CHECKER__
+#include <net/cfg802154.h>
+#include "driver-ops.h"
+#define CREATE_TRACE_POINTS
+#include "trace.h"
+
+#endif