diff options
author | Michal Kubecek <mkubecek@suse.cz> | 2020-03-04 19:24:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-06 08:38:02 +0300 |
commit | 182094348a08e712b41c0dbee92791bfa3b76d53 (patch) | |
tree | 78f80e1812c947b6cba88b5fae156ee9937998ee /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 7522416d2569cb3767c84beaa602496c2753a692 (diff) | |
download | linux-182094348a08e712b41c0dbee92791bfa3b76d53.tar.xz |
tun: drop useless debugging statements
Some of the tun_debug() statements only inform us about entering
a function which can be easily achieved with ftrace or kprobe. As
tun_debug() is no-op unless TUN_DEBUG is set which requires editing the
source and recompiling, setting up ftrace or kprobe is easier. Drop these
debug statements.
Also drop the tun_debug() statement informing about SIOCSIFHWADDR ioctl.
We can monitor these through rtnetlink and it makes little sense to log
address changes through ioctl but not changes through rtnetlink. Moreover,
this tun_debug() is called even if the actual address change fails which
makes it even less useful.
Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions