Roland Dreier wrote:
> +unsigned qib_debug;
> +module_param_named(debug, qib_debug, uint, S_IWUSR | S_IRUGO);
> +MODULE_PARM_DESC(debug, "mask for debug prints");
Did you look at using trace events for this stuff? That gives you
extremely low overhead when tracing is turned off (dynamic patching to
NOP out the tracing when it's disabled) and also very fine-grained (per
trace site) control over what gets printed; plus you get dumping of the
trace buffer on crash, etc.
- R.
Where can I find information on trace events? Something in Documentation/*?
Thanks,
Steve.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html