From: William Cohen <wcohen@redhat.com>
To: Alan David Brunelle <Alan.Brunelle@hp.com>
Cc: systemtap@sourceware.org
Subject: Re: Probing symbols that are not EXPORT()ed
Date: Thu, 08 Jun 2006 19:32:00 -0000 [thread overview]
Message-ID: <44887B0A.7000400@redhat.com> (raw)
In-Reply-To: <44885B41.5020501@hp.com>
Alan David Brunelle wrote:
> [Sorry for this newbie question...]
>
> How does one probe on a kernel function that does not have an
>
> EXPORT_SYMBOL()
>
> invocation?
>
> For example the following fails:
>
> global rqs
>
> probe kernel.function("scsi_dispatch_cmd")
> {
> rqs <<< $cmd->request_bufflen
> }
>
> probe end
> {
> print(@hist_linear(rqs, 0, 512000, 4000))
> exit()
> }
>
> with:
>
> [root@bl25p1 06_08]# stap -v scwrite.stp
> Pass 1: parsed user script and 11 library script(s) in 40usr/0sys/51real
> ms.
> semantic error: no match for probe point
> while: resolving probe point kernel.function("scsi_dispatch_cmd")
> Pass 2: analyzed script: 1 probe(s), 4 function(s), 1 global(s) in
> 150usr/20sys/163real ms.
> Pass 2: analysis failed.
>
> Thanks,
> Alan
Is this in the scsi module?
Shouldn't it be something like:
probe kernel.module("scsi_mod").function("scsi_dispatch_cmd")
{
rqs <<< $cmd->request_bufflen
}
next prev parent reply other threads:[~2006-06-08 19:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-08 19:03 Alan David Brunelle
2006-06-08 19:31 ` Martin Hunt
2006-06-08 19:32 ` William Cohen [this message]
2006-06-08 23:26 ` Li Guanglei
2006-06-08 19:40 Alan David Brunelle
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=44887B0A.7000400@redhat.com \
--to=wcohen@redhat.com \
--cc=Alan.Brunelle@hp.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).