LWN.net Logo

The dynamic debugging interface

The dynamic debugging interface

Posted May 6, 2011 20:38 UTC (Fri) by monster (guest, #74760)
Parent article: The dynamic debugging interface

How and when is the control file created? If I load a kernel module which wasn't available at boot time, how to I update the control file to include the new module and the location of its source code?


(Log in to post comments)

The dynamic debugging interface

Posted Apr 9, 2012 23:46 UTC (Mon) by yoduh (guest, #38527) [Link]

RE: How and when is the control file created? If I load a kernel module which wasn't available at boot time, how to I update the control file to include the new module and the location of its source code?

A year late, and youve probably found it, but:

The control file is automatically created if youre mounting dbgfs, appears in <dbgmountpt>/dynamic_debug/control. It contains a line for every pr_debug(etc) call in the kernel and its modules, when you modprobe another, its pr_debug() calls appear too.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds