summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_fail.c
Commit message (Collapse)AuthorAgeFilesLines
* Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs.ed2011-11-071-1/+1
| | | | This means that their use is restricted to a single C file.
* Add an option to have a fail point term only execute when run by amdf2011-07-081-1/+19
| | | | | | | specified pid. This is helpful for automated testing involving a global knob that would otherwise be executed by many other threads. MFC after: 1 week
* style(9) and cleanup fixes.mdf2011-07-081-80/+69
| | | | MFC after: 1 week
* Initialize fp_location for explicitly managed fail points, and pushmdf2010-12-211-2/+3
| | | | | | | | | | | | | | | the parentheses around the location for simple fail points into the location string. This makes the print on fail point set more consistent between the two versions. Also fix up fail.h a little for style(9): only use one of sys/param.h and sys/types.h, and use the existing __XSTRING() macro instead of rolling our own. Also fix up a few tabs on changed and nearby lines. Lastly, since KFAIL_POINT_{BEGIN,END} are not meant for use outside this file, just eliminate the macros entirely. MFC after: 1 week
* Move the fail_point_entry definition from fail.h to kern_fail.c, whichmdf2010-12-211-9/+37
| | | | | | | allows putting the enumeration constants of fail point types with the text string that matches them. MFC after: 1 week
* Remove extraneous semicolons, no functional changes.mbr2010-01-071-2/+2
| | | | | Submitted by: Marc Balmer <marc@msys.ch> MFC after: 1 week
* fail(9) support:zml2009-05-271-0/+575
Add support for kernel fault injection using KFAIL_POINT_* macros and fail_point_* infrastructure. Add example fail point in vfs_bio.c to simulate VM buf pressure. Approved by: dfr (mentor)
OpenPOWER on IntegriCloud