On Thu, 2011-03-03 at 11:24 -0800, Bing Zhao wrote: > For example, I can do "format 'mwifiex cmd' +p" and > "format 'mwifiex event' +p" to enable debugging for "cmd" and "event" only. On Thu, 2011-03-03 at 14:04 -0800, Bing Zhao wrote: > Do you think we should use pr_fmt(fmt) to construct _ddebug descriptor? > { KBUILD_MODNAME, __func__, __FILE__, pr_fmt(fmt), __LINE__, \ > Otherwise, I still have to add "mwifiex: " prefix for every pr_debug() call. Maybe I misunderstand. Doesn't this work? "module mwifiex format 'event' +p" -- 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