Re: [PATCH] Kprobes: Add kprobes smoke tests that run on boot

From: Andi Kleen
Date: Tue Jan 08 2008 - 16:00:40 EST


Ananth N Mavinakayanahalli <ananth@xxxxxxxxxx> writes:
> kernel/kprobes.c | 2
> kernel/test_kprobes.c | 216 ++++++++++++++++++++++++++++++++++++++++++++++++

Can you put this somewhere else please? I know there are already some
test files in kernel/* but imho they all belong into some other directory.

+ if (!err)
+ init_test_probes();
return err;

Couldn't this be just a normal initcall? Perhaps even a module_init(),
then it would be possible to use as a module too.

-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/