This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: probing based on kernel source
- From: "Jun Koi" <junkoi2004 at gmail dot com>
- To: ananth at in dot ibm dot com
- Cc: SystemTAP <systemtap at sources dot redhat dot com>
- Date: Tue, 9 Sep 2008 14:54:06 +0900
- Subject: Re: probing based on kernel source
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=G4ArpiOhD7ClrQHHkS8TWmWAmCkc900j9IbFZFfxXnA=; b=tS2jgN88Nngqy1cHQya5dGSVgwMQrErp1j+1AhmyOYIqRsOGzyYlDmGlKS4edV5kyF h8JMO2C8y+wI9AY0kADCIOY712DoY7p7uUiQUfLl0AWbDB6eWtlEGjqnWuBKIo4YIGUP Ns02iX8dtcNcg1CM+qoW4VX8XVMQ8ShO16XwM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=FmQv5Egr4ZXG+dCjmJ4LCWdqORpNkFNepve/kIUxMhZe5gljoSvVGx1tyAMFdLv5P5 CFu09CeoNdrZ0K6DPsSCwowABAprz8EKThmbcUNd+ttRptDd79G90jT1l48+IP4lqR9q QhNXWv3ydI8vqTbeyKemwc2oq1qocDACCIwLE=
- References: <fdaac4d50809082146ud8ebad0yda278548e937437a@mail.gmail.com> <20080909045526.GA3790@in.ibm.com>
On Tue, Sep 9, 2008 at 1:55 PM, Ananth N Mavinakayanahalli
<ananth@in.ibm.com> wrote:
> 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.
So I suppose that stap returns a list of (kernel) addresses that might
be suitable to put the probe? If so, how can we know which one is
correct??
Thanks,
Jun