diff options
| author | Lubomir Rintel <lkundrak@v3.sk> | 2017-09-18 15:56:51 +0200 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2017-09-21 11:42:02 +0200 |
| commit | 62b093b375e3c10ff39896f2a172146cf5df529f (patch) | |
| tree | 1b33a3e1034689a1dcd80e7fa7ba74f666e5e260 /scripts/gdb/linux/tasks.py | |
| parent | 4c121fd690d9c465e4cb09b7859adfdd6a0aee1d (diff) | |
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 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions
