public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: fche@redhat.com (Frank Ch. Eigler)
To: Kai_Wong <kai_wong@symantec.com>
Cc: systemtap@sourceware.org
Subject: Re: help needed to probe own modules
Date: Wed, 29 Oct 2008 01:15:00 -0000	[thread overview]
Message-ID: <y0mtzawurrj.fsf@ton.toronto.redhat.com> (raw)
In-Reply-To: <20217654.post@talk.nabble.com> (Kai Wong's message of "Tue, 28 Oct 2008 15:51:21 -0700 (PDT)")


Kai_Wong <kai_wong@symantec.com> writes:

> [...]
> 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("*")
> [...]

You need to find out where vxlogmod.ko's debugging data is.  If your
build system does not strip it, it should still be in there.  Then you
just need to copy it to a place where systemtap will look for it by
default (such as /lib/modules/`uname -r`/ANYTHING), or make systemtap
look for it where you do have it (by adding the directory to the
SYSTEMTAP_DEBUGINFO_PATH environment variable appropriately; see
stap.1 for the default).


- FChE

  reply	other threads:[~2008-10-29  1:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-28 22:52 Kai_Wong
2008-10-29  1:15 ` Frank Ch. Eigler [this message]
     [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=y0mtzawurrj.fsf@ton.toronto.redhat.com \
    --to=fche@redhat.com \
    --cc=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).