aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/trace.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2018-09-19 20:35:37 -0700
committerDavid S. Miller <davem@davemloft.net>2018-09-19 20:35:37 -0700
commit18522108d53c5d34d270ecdd693d2f1fa1ed845c (patch)
tree5efa713189b00721db1a75d786676042074c54fd /net/batman-adv/trace.c
parentnet: wan: remove redundant include (diff)
parentbatman-adv: Enable LockLess TX for softif (diff)
downloadlinux-dev-18522108d53c5d34d270ecdd693d2f1fa1ed845c.tar.xz
linux-dev-18522108d53c5d34d270ecdd693d2f1fa1ed845c.zip
Merge tag 'batadv-next-for-davem-20180919' of git://git.open-mesh.org/linux-merge
Simon Wunderlich says: ==================== This feature/cleanup patchset includes the following patches: - bump version strings, by Simon Wunderlich - Inform users about debugfs interface deprecation, by Sven Eckelmann - Implement tracing, planned to replace debugfs log messages, by Sven Eckelmann - Move OGM rebroadcasts to per interface struct, by Sven Eckelmann - Enable LockLess TX to increase throughput, by Sven Eckelmann ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/batman-adv/trace.c')
-rw-r--r--net/batman-adv/trace.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/net/batman-adv/trace.c b/net/batman-adv/trace.c
new file mode 100644
index 000000000000..3d57f9981f25
--- /dev/null
+++ b/net/batman-adv/trace.c
@@ -0,0 +1,22 @@
+// SPDX-License-Identifier: GPL-2.0
+/* Copyright (C) 2010-2018 B.A.T.M.A.N. contributors:
+ *
+ * Sven Eckelmann
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of version 2 of the GNU General Public
+ * License as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include <linux/module.h>
+
+#define CREATE_TRACE_POINTS
+#include "trace.h"