From: Kai_Wong <kai_wong@symantec.com>
To: systemtap@sourceware.org
Subject: help needed to probe own modules
Date: Tue, 28 Oct 2008 22:52:00 -0000 [thread overview]
Message-ID: <20217654.post@talk.nabble.com> (raw)
I'm a new systemtap user and am trying to use it to probe my own kernel
modules. I'm successful in running sample scripts such as top.stp in
/usr/share/doc/systemtap-0.5.12 on a RHEL 5 system.
I can also do things like:
stap -e 'probe module("ext3").function("*") {printf("%d %s(%d)\n",
gettimeofday_s(), execname(), pid())}'
However, for a module, vxlogmod, that I made and added using insmod and
showed up under lsmod:
[root@srlglm1 vxlog]#lsmod
Module Size Used by
... <snipped> ...
vxlogmod 317560 1 vxglm
stap gave the following error:
# stap -e 'probe module("vxlogmod").function("*") {}'
semantic error: no match for probe point while resolving probe point
module("vxlogmod").function("*")
Pass 2: analysis failed. Try again with more '-v' (verbose) options.
So, my questions are:
1. Does systemtap on RHEL5 support probing kernel modules that are built and
installed separately from the distro kernel?
2. If so, what do I need to do to make it recognize my modules?
Any help will be much appreciated.
Best,
Kai
--
View this message in context: http://www.nabble.com/help-needed-to-probe-own-modules-tp20217654p20217654.html
Sent from the Sourceware - systemtap mailing list archive at Nabble.com.
next reply other threads:[~2008-10-28 22:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-28 22:52 Kai_Wong [this message]
2008-10-29 1:15 ` Frank Ch. Eigler
[not found] ` <1A193CCB5218B14589B1979BC7D510E006F0EB1E@TUS1XCHCLUPIN11.enterprise.veritas.com>
[not found] ` <20081029201826.GC16968@redhat.com>
[not found] ` <1A193CCB5218B14589B1979BC7D510E006F0ECBC@TUS1XCHCLUPIN11.enterprise.veritas.com>
[not found] ` <1A193CCB5218B14589B1979BC7D510E007077719@TUS1XCHCLUPIN11.enterprise.veritas.com>
[not found] ` <20081104152629.GB28139@redhat.com>
[not found] ` <1A193CCB5218B14589B1979BC7D510E0070F51F0@TUS1XCHCLUPIN12.enterprise.veritas.com>
[not found] ` <20081107020842.GG20928@redhat.com>
2009-01-02 22:30 ` question regarding accessing a target variable Kai Wong
2009-01-03 1:00 ` Frank Ch. Eigler
2009-01-03 1:30 ` Kai Wong
2009-01-03 13:50 ` Frank Ch. Eigler
2009-01-06 0:26 ` Kai Wong
2009-01-24 14:27 ` Kai Wong
2009-01-25 2:44 ` Frank Ch. Eigler
[not found] ` <1A193CCB5218B14589B1979BC7D510E00802FAFC@TUS1XCHCLUPIN12.enterprise.veritas.com>
2009-01-27 21:40 ` Frank Ch. Eigler
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=20217654.post@talk.nabble.com \
--to=kai_wong@symantec.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).