Repository : ssh://git@open-mesh.org/openwrt-feed-devel
On branch : master
commit a3474a63c125d1f08cfb25e30a551f948ae67c4b Author: Sven Eckelmann sven@narfation.org Date: Thu May 23 19:57:55 2019 +0200
batctl-devel: Drop log subcommand
The correct way to get a log of the activities of batman-adv is to use the standard kernel tracing infrastructure:
$ trace-cmd stream -e batadv:batadv_dbg
The batman-adv specific log file will be removed in the future when the debugfs is dropped. And even for kernels without tracing support, most of the functionality (except mac address to bat_hosts translation) can be replaced by a simple:
$ cat /sys/kernel/debug/batman_adv/bat0/log
Signed-off-by: Sven Eckelmann sven@narfation.org
a3474a63c125d1f08cfb25e30a551f948ae67c4b batctl-devel/Makefile | 2 -- 1 file changed, 2 deletions(-)
diff --git a/batctl-devel/Makefile b/batctl-devel/Makefile index 3cd4fd1..b13d767 100644 --- a/batctl-devel/Makefile +++ b/batctl-devel/Makefile @@ -102,7 +102,6 @@ config-n := \ hop_penalty \ interface \ isolation_mark \ - log \ loglevel \ mcast_flags \ multicast_fanout \ @@ -155,7 +154,6 @@ config-tables := \
config-tools := \ event \ - log \ ping \ tcpdump \ throughputmeter \