From: William Cohen <wcohen@redhat.com>
To: Nathan DeBardeleben <ndebard@lanl.gov>
Cc: "systemtap@sources.redhat.com" <systemtap@sources.redhat.com>
Subject: Re: Inserting a probe point into a module?
Date: Wed, 15 Feb 2006 16:34:00 -0000 [thread overview]
Message-ID: <43F35817.4020004@redhat.com> (raw)
In-Reply-To: <43F352F5.10303@lanl.gov>
Nathan DeBardeleben wrote:
> I'm sure this has been asked before but I didn't see it looking around.
> Can I use systemtap / kprobes to probe a point that's in a module that's
> been isnmodded? Something I really need to do is probe points in an
> InfiniBand driver. I have the network driver module source, so I know
> where I want to probe... but just not sure if it's possible.
>
> My instinct is that it might not be possible because we don't have the
> appropriate kernel-debuginfo for this module... or can I create it somehow?
>
> Thanks!
>
You can probe modules installed in the kernel. You need to used "probe
module("mod").function("func"). Assuming that the module has been built
with debugging information this should work.
The debuginfo rpm is needed for the normal kernel because the debug
information isn't included in the normal vmlinuz and is stripped out of
the modules during the normal RPM build process. If you are building the
module locally, it should still have that information in the module.
-Will
prev parent reply other threads:[~2006-02-15 16:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-15 16:12 Nathan DeBardeleben
2006-02-15 16:34 ` William Cohen [this message]
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=43F35817.4020004@redhat.com \
--to=wcohen@redhat.com \
--cc=ndebard@lanl.gov \
--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).