[patch] Fix bug of syscall.lseek's offset
Frank Ch. Eigler
fche@redhat.com
Tue Sep 4 16:48:00 GMT 2007
Lai Jiangshan <laijs@cn.fujitsu.com> writes:
> How about the following patch? Is there any problem?
> [...]
>> probe syscall.lseek = kernel.function("sys_lseek") {
>> [...]
>> - offset = __int32($offset)
>> + offset = $offset
This looks good to me, as long as it tests fine on some 32-bit hosts.
We had some $variable width/signedness problems that were fixed a few
months ago in bug #3331. It may have fixed the need for the __int32
kludge too.
- FChE
More information about the Systemtap
mailing list