This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: problems displaying offsets...
- From: David Smith <dsmith at redhat dot com>
- To: Steve Dickson <SteveD at redhat dot com>
- Cc: SystemTAP <systemtap at sources dot redhat dot com>
- Date: Thu, 20 May 2010 14:12:21 -0500
- Subject: Re: problems displaying offsets...
- References: <4BF2942A.8060502@RedHat.com>
On 05/18/2010 08:20 AM, Steve Dickson wrote:
> In need of a second pair of eyes...
>
> probe kernel.function("kernel_sendpage")
> {
> size = ulong_arg(4)
> printf("kernel_sendpage: offset %d size %d\n", $offset, size);
> }
>
> From some reason the offset displayed is always zero in the
> above probe and I know for fact its not always zero...
>
> I'm have the same problem in I/O probes in the nfsd.proc.commit
> probe... Does anybody see what I'm doing wrong?
Hmm. I don't really see anything too odd here. Why are you using 'size
= ulong_arg(4)' instead of just $size?
--
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)