aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2017-09-18 15:56:51 +0200
committerJohannes Berg <johannes.berg@intel.com>2017-09-21 11:42:02 +0200
commit62b093b375e3c10ff39896f2a172146cf5df529f (patch)
tree1b33a3e1034689a1dcd80e7fa7ba74f666e5e260 /tools/perf/scripts/python
parentmac80211: use offsetofend() (diff)
downloadlinux-62b093b375e3c10ff39896f2a172146cf5df529f.tar.gz
linux-62b093b375e3c10ff39896f2a172146cf5df529f.zip
mac80211_hwsim: use dyndbg for debug messages
The mac80211_hwsim doesn't offer a way to disable the debugging output. Unfortunately, it's pretty chatty, dumping a lot of stuff into the message buffer. This patch changes it to use dyndbg for controlling the debug output. It's disabled by default, but can be enabled by a module parameter (1), at runtime (2) or persisted in modprobe.conf (3). (1) modprobe mac80211_hwsim dyndbg=+p (2) echo "module mac80211_hwsim +p" >/sys/kernel/debug/dynamic_debug/control (3) echo "options mac80211_hwsim dyndbg=+p" >>/etc/modprobe.d/my.conf Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions