public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* help needed to probe own modules
@ 2008-10-28 22:52 Kai_Wong
  2008-10-29  1:15 ` Frank Ch. Eigler
  0 siblings, 1 reply; 10+ messages in thread
From: Kai_Wong @ 2008-10-28 22:52 UTC (permalink / raw)
  To: systemtap


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.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-01-27 16:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-28 22:52 help needed to probe own modules Kai_Wong
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

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).