• Ankita Garg's avatar
    [PATCH] Linux Kernel Dump Test Module · 8bb31b9d
    Ankita Garg authored
    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: default avatarAnkita Garg <ankita@in.ibm.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    8bb31b9d
lkdtm.c 7.7 KB