This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem reading sys_write arguments


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]