On Mon, Jun 11, 2012 at 3:45 AM, Jack Morgenstein
<[email protected]> wrote:
> The facility is on-off switchable at run-time
> (i.e., module-parameter controlled, off by default).

In the modern kernel, let's just use CONFIG_DYNAMIC_DEBUG for run time
control.  In other words no config option, no module parameter, just
use pr_debug.  (and you can define pr_fmt to get all the effect of the
mlx4_ib_dbg wrapper macro)

However it might make sense to come up with a wrapper that passes
through to dev_dbg so you can see which device is involved in the
debugging output (seems like it might be especially useful when you
have lots of VFs floating around).

 - R.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to