public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* stapkp_symbol_callback
@ 2022-12-12 19:15 test
  0 siblings, 0 replies; only message in thread
From: test @ 2022-12-12 19:15 UTC (permalink / raw)
  To: systemtap

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-12 19:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-12 19:15 stapkp_symbol_callback test

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).