From: "Stone, Joshua I" <joshua.i.stone@intel.com>
To: "Mao, Bibo" <bibo.mao@intel.com>, <systemtap@sources.redhat.com>
Subject: RE: question about module function probe
Date: Thu, 02 Mar 2006 17:07:00 -0000 [thread overview]
Message-ID: <CBDB88BFD06F7F408399DBCF8776B3DC068CE73A@scsmsx403.amr.corp.intel.com> (raw)
bibo,mao wrote:
> Hi,
> I wrote one script to probe function in module, this script is like
> this: probe module("*").function("*interrupt*")
> {
> }
>
> And in the translated module source file, it includes some probepoints
> like this:
>
"kernel.function(\"wait_for_completion_interruptible@kernel/sched.c:3017
\")",
>
"kernel.function(\"wait_for_completion_interruptible_timeout@kernel/sche
d.c:3052\")",
> "kernel.function(\"interruptible_sleep_on@kernel/sched.c:3111\")",
>
"kernel.function(\"interruptible_sleep_on_timeout@kernel/sched.c:3126\")
",
> But these functions are not defined in the modules, maybe some modules
> call these function.
> And I think module functions should be defined and implemented in the
> modules.
I think that kernel.function(...) is treated internally as a syntactic
sugar for module("kernel").function(...), so module("*") would match the
kernel itself as well. Whether this is the desired behavior may be a
point of discussion...
Josh
next reply other threads:[~2006-03-02 17:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-02 17:07 Stone, Joshua I [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-03-02 3:43 bibo,mao
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=CBDB88BFD06F7F408399DBCF8776B3DC068CE73A@scsmsx403.amr.corp.intel.com \
--to=joshua.i.stone@intel.com \
--cc=bibo.mao@intel.com \
--cc=systemtap@sources.redhat.com \
/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).