[ofa-general] Re: [PATCH RFC] - iw_cxgb3 debug - turn debug logging on/off at runtime

Steve Wise swise at opengridcomputing.com
Thu Jun 28 17:05:56 PDT 2007



Roland Dreier wrote:
>  > What do folks think about using a sysfs file to turn debug logging
>  > on/off at runtime for an rdma driver?
>
> How about just making it a module parameter with writable permissions,
> so it can be set in /sys/module and you don't even have to write any
> attribute parsing code or anything like that.
>   

Duh!  I didn't know about /sys/module.  That sounds like what I want.

Thanks.


>  > Is a /proc entry better?
>
> No, /proc is only for process-related stuff.
>
>  - R.
>   



More information about the general mailing list