Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1676780
| From | Johannes Berg <johannes@sipsolutions.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] mac80211_hwsim: use dyndbg for debug messages |
| Date | 2017-06-28 17:10 +0200 |
| Message-ID | <tXmLp-8q5-47@gated-at.bofh.it> (permalink) |
| References | <tXlcC-7iY-25@gated-at.bofh.it> <tXlmi-7nt-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, 2017-06-28 at 06:37 -0700, Joe Perches wrote: > On Wed, 2017-06-28 at 15:17 +0200, Lubomir Rintel wrote: > > 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 > > I wonder about the value at all of the 2 forms: > > wiphy_dbg -> only with #define DEBUG or dynamic_debug > wiphy_debug -> always emitted at KERN_DEBUG > > Is there any real value in wiphy_debug? > > Should it just be converted to > > #define wiphy_debug wiphy_dbg I don't think it should, there are some messages that we'd probably just have to give a higher priority if we did this. johannes
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] mac80211_hwsim: use dyndbg for debug messages Lubomir Rintel <lkundrak@v3.sk> - 2017-06-28 15:30 +0200
Re: [PATCH] mac80211_hwsim: use dyndbg for debug messages Joe Perches <joe@perches.com> - 2017-06-28 15:40 +0200
Re: [PATCH] mac80211_hwsim: use dyndbg for debug messages Johannes Berg <johannes@sipsolutions.net> - 2017-06-28 17:10 +0200
Re: [PATCH] mac80211_hwsim: use dyndbg for debug messages Johannes Berg <johannes@sipsolutions.net> - 2017-06-28 17:10 +0200
Re: [PATCH] mac80211_hwsim: use dyndbg for debug messages Lubomir Rintel <lkundrak@v3.sk> - 2017-06-28 21:20 +0200
Re: [PATCH] mac80211_hwsim: use dyndbg for debug messages Joe Perches <joe@perches.com> - 2017-06-28 21:30 +0200
Re: [PATCH] mac80211_hwsim: use dyndbg for debug messages Johannes Berg <johannes@sipsolutions.net> - 2017-06-29 15:10 +0200
csiph-web