Is it possible to change the log level of a device driver at runtime?

Adarsh Joshi adarsh.joshi at qlogic.com
Thu Nov 3 18:23:06 UTC 2011


Hi,

Is it possible to change the log level of a device driver at runtime?

I am trying to understand a network based device driver. It already has a number of print messages which are only printed if the debug flag is 1. Is it possible to toggle the debug flag when the driver is loaded, at runtime with some command?

A detailed explanation on how to go about this would be very helpful.

thanks
Adarsh


________________________________
This message and any attached documents contain information from QLogic Corporation or its wholly-owned subsidiaries that may be confidential. If you are not the intended recipient, you may not read, copy, distribute, or use this information. If you have received this transmission in error, please notify the sender immediately by reply e-mail and then delete this message.


More information about the freebsd-drivers mailing list