Re: [for-next][PATCH 12/16] kprobes: Initialize kprobes at postcore_initcall
From: Steven Rostedt
Date: Wed Jul 03 2019 - 10:24:07 EST
On Wed, 3 Jul 2019 15:08:32 +0100
Catalin Marinas <catalin.marinas@xxxxxxx> wrote:
> > +static int __init run_init_test_probes(void)
> > +{
> > + if (run_kprobe_tests)
> > + init_test_probes();
>
> A return 0 here.
Will update (would have triggered a failure on my test suite anyway ;-)
>
> > +}
> > +module_init(run_init_test_probes);
>
> This does the trick. I prefer your fix as it leaves the arch code
> unchanged. In case you need it:
>
> Tested-by: Catalin Marinas <catalin.marinas@xxxxxxx>
>
Great! Thanks.
-- Steve