[openib-general] Re: [PATCH] remove ts_kernel_trace from client_query*

Roland Dreier roland at topspin.com
Wed Aug 25 12:57:17 PDT 2004


    Michael> Wouldnt compile-time be enough?  If you want to change
    Michael> the setting, you could just add -DDEBUG or something in
    Michael> the makefile and rebuild the relevant module.

We've found it very useful for debugging to be able to turn on debug
output after a problem is detected without having to disturb the system.

    Michael> I'm not sure multiple debug levels are really useful -
    Michael> from experience its hard to define in which debug level
    Michael> each print belongs, so you end up enabling the maximum
    Michael> verbosity, anyway.

Yes, I agree, although perhaps two levels (DEBUG and VERBOSEDEBUG say)
might be useful.

 - Roland



More information about the general mailing list