[Openib-windows] RE: Debug prints in free version

Fab Tillier ftillier at silverstorm.com
Mon Aug 8 08:36:19 PDT 2005


> From: Yossi Leybovich [mailto:sleybo at mellanox.co.il]
> Sent: Monday, August 08, 2005 5:05 AM
> 
> I think it will make it easy to all of us if the stack will generate printf in
> case of error.
> In the current defines in order to debug any kernel level component you need
> to replace the sys file to the debug version
>
> It will be better if :
> CL_PRINT in case of ERROR_DBG should use cl_msg_out so it will generate print
> even in free version
>
> It should not heart the data flow (we print just in case of error)
> What do you think ?

I would rather see errors logged to the system log.  Users in the field won't
have a debugger attached to watch the debug output.

- Fab




More information about the ofw mailing list