Messages in this thread | | | From | Rusty Russell <> | Subject | Re: timing of module MODULE_STATE_COMING notifier | Date | Wed, 02 Sep 2015 15:32:58 +0930 |
| |
"Frank Ch. Eigler" <fche@redhat.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.
| |