Problem reading sys_write arguments

Akshay Shah aksh24@gmail.com
Sat Sep 15 00:38:00 GMT 2007


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