lkml.org 
[lkml]   [2008]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Kprobes: Add kprobes smoke tests that run on boot
From
Date
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


\
 
 \ /
  Last update: 2008-01-08 22:03    [W:0.099 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site