Skip to content

Commit 1852210

Browse files
committed
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>
2 parents b9d957c + a7ea49a commit 1852210

15 files changed

Lines changed: 323 additions & 411 deletions

‎net/batman-adv/Kconfig‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,14 @@ config BATMAN_ADV_DEBUG
106106
say N here. This enables compilation of support for
107107
outputting debugging information to the kernel log. The
108108
output is controlled via the module parameter debug.
109+
110+
config BATMAN_ADV_TRACING
111+
bool "B.A.T.M.A.N. tracing support"
112+
depends on BATMAN_ADV
113+
depends on EVENT_TRACING
114+
help
115+
This is an option for use by developers; most people should
116+
say N here. Select this option to gather traces like the debug
117+
messages using the generic tracing infrastructure of the kernel.
118+
BATMAN_ADV_DEBUG must also be selected to get trace events for
119+
batadv_dbg.

‎net/batman-adv/Makefile‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ batman-adv-y += routing.o
4242
batman-adv-y += send.o
4343
batman-adv-y += soft-interface.o
4444
batman-adv-y += sysfs.o
45+
batman-adv-$(CONFIG_BATMAN_ADV_TRACING) += trace.o
4546
batman-adv-y += tp_meter.o
4647
batman-adv-y += translation-table.o
4748
batman-adv-y += tvlv.o
49+
50+
CFLAGS_trace.o := -I$(src)

0 commit comments

Comments
 (0)