Why is dynamic debug disabled for staging drivers ?

Roland Vossen rvossen at broadcom.com
Wed Apr 6 13:54:37 UTC 2011


Hi,

I want to replace the proprietary logging mechanism in brcm80211 with a 
Linux mechanism. 'Dynamic debug' seemed to be a good fit. But, to my 
disappointment, I discovered that dynamic debugging is not supported for 
drivers from the staging dir:

- staging drivers are marked tainted (ref: 
http://lxr.linux.no/#linux+v2.6.38/kernel/module.c#L2417)

- subsequently tainted drivers don't get dynamic debug goodies (ref: 
http://lxr.linux.no/#linux+v2.6.38/kernel/module.c#L2792)

I wonder if this is intentional behavior. Does anybody know ?

Thanks, Roland.




More information about the devel mailing list