Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1677106

Re: [PATCH] mac80211_hwsim: use dyndbg for debug messages

From Joe Perches <joe@perches.com>
Newsgroups linux.kernel
Subject Re: [PATCH] mac80211_hwsim: use dyndbg for debug messages
Date 2017-06-28 21:30 +0200
Message-ID <tXqP1-1wb-41@gated-at.bofh.it> (permalink)
References <tXlcC-7iY-25@gated-at.bofh.it> <tXmLo-8q5-37@gated-at.bofh.it> <tXqFk-1sJ-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 2017-06-28 at 21:10 +0200, Lubomir Rintel wrote:
> On Wed, 2017-06-28 at 17:02 +0200, Johannes Berg 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.
> > 
> > Why is this a problem? It's pretty much a testing tool only, and much
> > of the point is to have message about it's internal state?
> 
> I do use it as a development tool. I find it very convenient to always
> have a bunch of libvirt-managed LXC containers, some running hostapd
> instances with various access point configurations and some used for
> NetworkManager development and a mac80211_hwsim radio in each of them.
> 
> An unfortunate side-effect is that my dmesg becomes next to useless due
> to the overwhelming amount of mac80211_hwsim logging.

Perhaps convert some of these to debugfs output?

Otherwise, many or most of these seem to be function
tracing type calls that could or should use ftrace.

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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