Problem reading sys_write arguments
Mike Mason
mmlnx@us.ibm.com
Sat Sep 15 00:50:00 GMT 2007
I don't see this problem when I run a script that probes sys_write and vfs_write. What systemtap version, kernel version and architecture are you using? Also, please post your script.
Thanks,
Mike
Akshay Shah wrote:
> 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
More information about the Systemtap
mailing list