Something went wrong on our end
-
Jonathan Corbet authored
Add the appropriate markup to get the kerneldoc comments out of lib/debugobjects.c that have never seen the light of day until now. A logical next step, left for the reader at the moment, is to move the function descriptions *out* of debug-objects.rst and into the kerneldoc comments themselves. Signed-off-by:
Jonathan Corbet <corbet@lwn.net>
Jonathan Corbet authoredAdd the appropriate markup to get the kerneldoc comments out of lib/debugobjects.c that have never seen the light of day until now. A logical next step, left for the reader at the moment, is to move the function descriptions *out* of debug-objects.rst and into the kerneldoc comments themselves. Signed-off-by:
Jonathan Corbet <corbet@lwn.net>
debug-objects.rst 11.31 KiB
The object-lifetime debugging infrastructure
Author: | Thomas Gleixner |
---|
Introduction
debugobjects is a generic infrastructure to track the life time of kernel objects and validate the operations on those.
debugobjects is useful to check for the following error patterns:
- Activation of uninitialized objects
- Initialization of active objects
- Usage of freed/destroyed objects
debugobjects is not changing the data structure of the real object so it can be compiled in with a minimal runtime impact and enabled on demand with a kernel command line option.