Skip to contentSkip to conversation

straw poll: new Kconfig symbol for mac80211 debugfs?

DISCUSSION Johannes Berg 3 participants 4 messages Mar 3, 2007

lore
Share & tools
lore
#0 lore raw

After moving all the sysfs stuff to debugfs I notice that it is quite a large amount of code. Does anybody think having a new Kconfig symbol for that like this one

config MAC80211_DEBUGFS
bool "DebugFS support"
depends on MAC80211
---help---
Select this to see extensive information about the internal state of mac80211 in debugfs.

Say N unless you know you need this.

would make sense?

johannes

#1 lore raw
Quoted 11 lines · On Sat, 03 Mar 2007 13:12:03 +0100 Johannes Berg wrote:

After moving all the sysfs stuff to debugfs I notice that it is quite a large amount of code. Does anybody think having a new Kconfig symbol for that like this one

config MAC80211_DEBUGFS
bool "DebugFS support"
depends on MAC80211
---help---
Select this to see extensive information about the internal state of mac80211 in debugfs.

Quoted 3 lines

Say N unless you know you need this.

would make sense?

Yes. But it should also depend on DEBUG_FS... (maybe it does that somewhere else?)

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

#2 lore raw
Quoted 13 lines · Randy Dunlap
Quoted 11 lines · On Sat, 03 Mar 2007 13:12:03 +0100 Johannes Berg wrote:

After moving all the sysfs stuff to debugfs I notice that it is quite a large amount of code. Does anybody think having a new Kconfig symbol for that like this one

config MAC80211_DEBUGFS
bool "DebugFS support"
depends on MAC80211
---help---
Select this to see extensive information about the internal state of mac80211 in debugfs.

Quoted 6 lines
Quoted 3 lines

Say N unless you know you need this.

would make sense?

Yes. But it should also depend on DEBUG_FS... (maybe it does that somewhere else?)

Yeah, I only wrote this right into this email and forgot (and when I noticed seconds after sending I didn't want to spam everybody again, sent enough mail already today :) )

johannes

#3 lore raw
In reply to Johannes Berg
Quoted 11 lines · Johannes Berg

After moving all the sysfs stuff to debugfs I notice that it is quite a large amount of code. Does anybody think having a new Kconfig symbol for that like this one

config MAC80211_DEBUGFS
bool "DebugFS support"
depends on MAC80211
---help---
Select this to see extensive information about the internal state of mac80211 in debugfs.

Quoted 3 lines

Say N unless you know you need this.

would make sense?

I'd say this doesn't make too much sense. Simply enable it when CONFIG_D80211_DEBUG is set.

Signature · 1 line
Greetings Michael.