stapkp_symbol_callback
test
sun67567@gmail.com
Mon Dec 12 19:15:59 GMT 2022
Hi,
Is this assumption correct:
The mod parameter in stapkp_symbol_callback() is always zero since it is
called by kallsyms_on_each_symbol() and not
module_kallsyms_on_each_symbol(), so stapkp_symbol_callback() returns
always 0 and the probe addr will never be updated.
To catch probes in kernel modules loaded after staprun the probe will
never be registered. With module_kallsyms_on_each_symbol() this would be
possible.
Thanks
Hans
More information about the Systemtap
mailing list