Skip to contentSkip to conversation

batctl: drop bisect_iv tool

PATCH Superseded Sven Eckelmann 1 participant 1 message Jul 8 Kbuild

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 batctl: drop bisect_iv tool

The bisect_iv was used in the past to analyze logfiles. But this tool is not build by default and wasn't updated since a long time. It is currently not even able to parse the output from trace-cmd.

The bisect_iv tool is most likely not actively used and can be dropped. This reduces the maintenance overhead. Because it is one of the larger portions of the codebase and has various known problems.

---
See https://www.open-mesh.org/issues/454 for some pending reports.

---
 Makefile     |    6 +-
 README.rst   |  103 ----
 bisect_iv.c  | 1651 ----------------------------------------------------------
 bisect_iv.h  |   85 ---
 man/batctl.8 |    9 -
 5 files changed, 1 insertion(+), 1853 deletions(-)
Makefile +1 -5
index a1cde20..5d9e4a7 100755
@@ -6,9 +6,6 @@
 #
 # License-Filename: LICENSES/preferred/GPL-2.0
 
-# just for backward compatibility - please use CONFIG_bisect_iv instead
-export CONFIG_BATCTL_BISECT=n
-
 # batctl build
 BINARY_NAME = batctl
 
@@ -34,12 +31,11 @@ define add_command
   obj-$$(CONFIG_$(1)) += $(1).o
 endef # add_command
 
-# using the make parameter CONFIG_* (e.g. CONFIG_bisect_iv) with the value 'y'
+# using the make parameter CONFIG_* (e.g. CONFIG_aggregation) with the value 'y'
 # enables the related feature and 'n' disables it
 $(eval $(call add_command,aggregation,y))
 $(eval $(call add_command,ap_isolation,y))
 $(eval $(call add_command,backbonetable,y))
-$(eval $(call add_command,bisect_iv,$(CONFIG_BATCTL_BISECT)))
 $(eval $(call add_command,bla_backbone_json,y))
 $(eval $(call add_command,bla_claim_json,y))
 $(eval $(call add_command,bonding,y))
README.rst +0 -103

109 lines not on this page · raw message

bisect_iv.c deleted +0 -1651

1,651 lines not on this page · raw message

bisect_iv.h deleted +0 -85

85 lines not on this page · raw message

man/batctl.8 +0 -9
index 54745da..34f150e 100644
@@ -56,15 +56,6 @@ print batctl version and batman-adv version (if the module is loaded)
 
 .SH COMMANDS
 
-.TP
-\fBbisect_iv\fP [\fB\-l MAC\fP][\fB\-t\fP \fIMAC\fP][\fB\-r\fP \fIMAC\fP][\fB\-s\fP \fImin\fP [\- \fImax\fP]][\fB\-o\fP \fIMAC\fP][\fB\-n\fP] \fIlogfile1\fP ...
-Analyses the B.A.T.M.A.N. IV logfiles to build a small internal database of all sent sequence numbers and routing table
-changes. This database can then be analyzed in a number of different ways. With "\-l" the database can be used to search
-for routing loops. Use "\-t" to trace OGMs of a host throughout the network. Use "\-r" to display routing tables of the
-nodes. The option "\-s" can be used to limit the output to a range of sequence numbers, between min and max, or to one
-specific sequence number, min. Furthermore using "\-o" you can filter the output to a specified originator. If "\-n" is
-given batctl will not replace the MAC addresses with bat\-host names in the output.
-.RE
 .TP
 \fBevent\fP|\fBe\fP [\fB\-t\fP|\fB\-r\fP]
 batctl will monitor for events from the netlink kernel interface of batman-adv. The local timestamp of the event will be printed

---
base-commit: eb9597d4ca6db17c579f5ae9443c51b013e2fe65
change-id: 20260708-drop-bisect_iv-3f5747bee259

Best regards,

Signature · 1 line
Sven Eckelmann <[email protected]>