Where is the kernel symbol __tracepoint_module_load
defined?
I saw it once in /proc/kallsyms
, but now I can't find it.
bootlin.com/linux/ cannot find it, either.
Where is the kernel symbol __tracepoint_module_load
defined?
I saw it once in /proc/kallsyms
, but now I can't find it.
bootlin.com/linux/ cannot find it, either.
There is
TRACE_EVENT
macro, which eventually uses__DECLARE_TRACE
, where you can see:So we can find the appropriate
TRACE_EVENT
"call" formodule_load
in include/trace/events/module.h:In
/proc/kallsyms
outputD
means that the symbol is in the initialized data section:P.S. In case of preprocessor magic elixir.bootlin.com is not so useful. To make a real investigation just clone Linux kernel or download the appropriate sources from pub.