On Fri, 2012-06-22 at 08:32 -0700, Joe Perches wrote: > > Are you sure? It doesn't really seem to work ... > > > > #if defined(CONFIG_DYNAMIC_DEBUG) > > /* dynamic_pr_debug() uses pr_fmt() internally so we don't need it here */ > > #define pr_debug(fmt, ...) \ > > dynamic_pr_debug(fmt, ##__VA_ARGS__) > > #elif defined(DEBUG) > > #define pr_debug(fmt, ...) \ > > printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__) > > > > > > > > So basically, if you have CONFIG_DYNAMIC_DEBUG, you *still* need to > > enable it with the dynamic debug framework, right? > > No. > > In dynamic_debug.h, there's a mechanism to enable all > dynamic_pr_debug lines when DEBUG is #defined > > #if defined DEBUG > #define _DPRINTK_FLAGS_DEFAULT _DPRINTK_FLAGS_PRINT > #else > #define _DPRINTK_FLAGS_DEFAULT 0 > #endif Gee, ok, so this was only added in 3.3 ... johannes -- 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