This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: probing based on kernel source
- From: Ananth N Mavinakayanahalli <ananth at in dot ibm dot com>
- To: "Jun Koi" <junkoi2004 at gmail dot com>
- Cc: SystemTAP <systemtap at sources dot redhat dot com>
- Date: Tue, 9 Sep 2008 10:25:26 +0530
- Subject: Re: probing based on kernel source
- References: <fdaac4d50809082146ud8ebad0yda278548e937437a@mail.gmail.com>
- Reply-to: ananth at in dot ibm dot com
On Tue, Sep 09, 2008 at 01:46:13PM +0900, Jun Koi wrote:
> Hi,
>
> Is it possible to probe a place coresponding to a particular line of a
> particular file in Linux kernel souce code? If so, what is the syntax?
See
http://sourceware.org/systemtap/langref/node6.html#SECTION00062200000000000000
If the particular line you are trying to probe can't be probed due to
compiler optimizations, etc., stap will give you alternatives too.
Ananth