[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87lhcp1hpp.fsf@rustcorp.com.au>
Date: Wed, 02 Sep 2015 15:32:58 +0930
From: Rusty Russell <rusty@...tcorp.com.au>
To: "Frank Ch. Eigler" <fche@...hat.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: timing of module MODULE_STATE_COMING notifier
"Frank Ch. Eigler" <fche@...hat.com> writes:
> Hi, Rusty -
>
>
> I wrote:
>
>> [...]
>> > Notifiers suck for stuff like this :( Module state has many steps,
>> > so my preference has been to open-code explicit hooks. [...]
>>
>> You mean something like the trace_module_load()? (We will probably
>> experiment with hooking into that tracepoint instead of the notifier.)
>> [...]
>
> It turns out this works OK, except for EXPORT_TRACEPOINT_SYMBOL_GPL.
> Could we get a set of EXPORT_TRACEPOINT_SYMBOL_GPL's for the
> trace/events/module.h tracepoints (at least module_load and
> module_free)?
Sure, patch welcome.
Cheers,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists