Compilation error when doing user space probe on FC9.

Wenji Huang wenji.huang@oracle.com
Fri Dec 5 04:26:00 GMT 2008


Srikar Dronamraju wrote:
> Hi Wenji, 
> I have run uprobes based probes on 2.6.23.*, 2.6.24.*  and 2.6.27.* based
> kernels. 
> 
> --
> Thanks and Regards
> Srikar
> 
> 
> 
>> On Thu, Dec 04, 2008 at 11:27:03AM +0800, Wenji Huang wrote:
>>> Hi,
>>>
>>> Got compilation error when doing userspace probe on FC9. But
>>> "probe process.syscall" works fine.
>>>
>>> $ uname -r
>>> 2.6.25-14.fc9.x86_64
>> You really need a newer kernel!
>>
>> F9 currently is updated to 2.6.27.5 IIRC.
>>
>> Ananth
> 
Yes, this error is specific to 2.6.25 Fedora shipment kernel. Works fine
on 2.6.28-rc7+latest utrace patch. But got warning on 2.6.27.5-41.fc9 
kernel.

In file included from 
/usr/local/share/systemtap/runtime/uprobes/../uprobes2/uprobes_arch.c:2,
                  from 
/usr/local/share/systemtap/runtime/uprobes/../uprobes2/uprobes.c:2795,
                  from 
/usr/local/share/systemtap/runtime/uprobes/uprobes.c:8:
/usr/local/share/systemtap/runtime/uprobes/../uprobes2/uprobes_x86.c: In 
function ‘handle_riprel_insn':
/usr/local/share/systemtap/runtime/uprobes/../uprobes2/uprobes_x86.c:420: 
warning: passing argument 2 of ‘constant_test_bit' from incompatible 
pointer type
/usr/local/share/systemtap/runtime/uprobes/../uprobes2/uprobes_x86.c:420: 
warning: passing argument 2 of ‘variable_test_bit' from incompatible 
pointer type
/usr/local/share/systemtap/runtime/uprobes/../uprobes2/uprobes_x86.c:423: 
warning: passing argument 2 of ‘constant_test_bit' from incompatible 
pointer type
/usr/local/share/systemtap/runtime/uprobes/../uprobes2/uprobes_x86.c:423: 
warning: passing argument 2 of ‘variable_test_bit' from incompatible 
pointer type


Regards,
Wenji



More information about the Systemtap mailing list