Messages in this thread | | | Subject | Re: [PATCH] Kprobes: Add kprobes smoke tests that run on boot | From | Andi Kleen <> | Date | Tue, 08 Jan 2008 22:00:24 +0100 |
| |
Ananth N Mavinakayanahalli <ananth@in.ibm.com> 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
| |