aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAnkita Garg <ankita@in.ibm.com>2006-10-02 05:17:36 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-02 10:57:16 -0400
commit8bb31b9d5340ed3dfef45d322f59fcf18a0d598b (patch)
treeb0c225ebc5ed8ca6b0ad3c10b09f715d9ad67ad9 /lib
parent99219a3fbc2dcf2eaa954f7b2ac27299fd7894cd (diff)
[PATCH] Linux Kernel Dump Test Module
A simple module to test Linux Kernel Dump mechanism. This module uses jprobes to install/activate pre-defined crash points. At different crash points, various types of crashing scenarios are created like a BUG(), panic(), exception, recursive loop and stack overflow. The user can activate a crash point with specific type by providing parameters at the time of module insertion. Please see the file header for usage information. The module is based on the Linux Kernel Dump Test Tool by Fernando <http://lkdtt.sourceforge.net>. This module could be merged with mainline. Jprobes is used here so that the context in which crash point is hit, could be maintained. This implements all the crash points as done by LKDTT except the one in the middle of tasklet_action(). Signed-off-by: Ankita Garg <ankita@in.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig.debug14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index f9ae75cc0145..756a908c441d 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -384,3 +384,17 @@ config RCU_TORTURE_TEST
384 at boot time (you probably don't). 384 at boot time (you probably don't).
385 Say M if you want the RCU torture tests to build as a module. 385 Say M if you want the RCU torture tests to build as a module.
386 Say N if you are unsure. 386 Say N if you are unsure.
387
388config LKDTM
389 tristate "Linux Kernel Dump Test Tool Module"
390 depends on KPROBES
391 default n
392 help
393 This module enables testing of the different dumping mechanisms by
394 inducing system failures at predefined crash points.
395 If you don't need it: say N
396 Choose M here to compile this code as a module. The module will be
397 called lkdtm.
398
399 Documentation on how to use the module can be found in
400 drivers/misc/lkdtm.c