LWN.net Logo

The dynamic debugging interface

The dynamic debugging interface

Posted Apr 9, 2012 23:46 UTC (Mon) by yoduh (guest, #38527)
In reply to: The dynamic debugging interface by monster
Parent article: The dynamic debugging interface

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.


(Log in to post comments)

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