x86: kprobes: add kprobes smoke tests that run on boot
[linux-2.6.git] / kernel / kprobes.c
index e3a5d81..d0493ea 100644 (file)
@@ -824,6 +824,8 @@ static int __init init_kprobes(void)
        if (!err)
                err = register_die_notifier(&kprobe_exceptions_nb);
 
+       if (!err)
+               init_test_probes();
        return err;
 }