This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Problem reading sys_write arguments
- From: "Akshay Shah" <aksh24 at gmail dot com>
- To: systemtap at sources dot redhat dot com
- Date: Fri, 14 Sep 2007 15:27:18 -0700
- Subject: Problem reading sys_write arguments
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=93YJ8ORWsSPHuv4XPpnXvFR32OL6+lCGd3vBT7Se6Gc=; b=ADV3JhSuyKDsuCOBo3hNhqgGq1AnF/781AqpixHjMF4e9XhlLbME0egreTGTeXu4M+5vZvbv6YrDg/MX8Zegcr6FPHHgZSSeUyQSVpqLA+btJC+sautUdD2a+iI0/zOUej+fqeBbSaD5a00blAtDkVNSr0JbuzjSTLNKHCeJGi4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=HQ3eEzo27+rKAQVnpS+Sn9FgPyZ+lHjqYK7mqjkY9nJgGffXWx06qVh2gwiuRaPCDu1qJIl/RagON2gVBQPMURaIsLwzDMtBnG6gabIFRgOQHmYQbZAu+X2pRYY4ROoaSUpxC/CYkJD1+2WaT0iIV6QnAGtLSKmweLzM+XoX7VA=
I could not read the correct value for certain syscall arguments.
When I tried to print the count field for a "sys_write" call, the
value returned is always 4. However, it prints the correct value of
count for a probe on "vfs_write".
I am not sure whether I am doing something wrong in the script. It
just probes both functions and prints the $count value to stdout.
Am I missing something which could result in the incorrect value? Has
someone seen something similar?
Thanks,
Akshay