From: test <sun67567@gmail.com>
To: systemtap@sourceware.org
Subject: stapkp_symbol_callback
Date: Mon, 12 Dec 2022 20:15:59 +0100 [thread overview]
Message-ID: <f4a39dcf-164f-6042-0c10-ce126d2b0ebd@gmail.com> (raw)
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
reply other threads:[~2022-12-12 19:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f4a39dcf-164f-6042-0c10-ce126d2b0ebd@gmail.com \
--to=sun67567@gmail.com \
--cc=systemtap@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).