greearb@xxxxxxxxxxxxxxx writes: > From: Ben Greear <greearb@xxxxxxxxxxxxxxx> > > The bss objects are reference counted, and the ies > are also tricky to keep track of. Add option to > track allocation and freeing of the ies and bss objects, > and add debugfs files to show the current objects. > > Signed-off-by: Ben Greear <greearb@xxxxxxxxxxxxxxx> [...] > +config CFG80211_MEM_DEBUGGING > + bool "cfg80211 memory debugging logic" > + default n > + depends on CFG80211_DEBUGFS > + ---help--- > + Enable this if you want to debug memory handling for bss and ies > + objects. New debugfs files: ieee80211/all_ies and all_bss will > + be created to display these objects. This has a moderate CPU cost > + and uses a bit more memory than normal, but otherwise is not very > + expensive. > + > + If unsure, say N. IMHO having a new Kconfig option is overkill. Can we use something more generic, like CFG80211_DEVELOPER_WARNINGS, for this? -- Kalle Valo -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html