setting a shared library static

Roland McGrath roland@redhat.com
Tue Nov 3 20:46:00 GMT 2009


[before]
> find_vma@mm/mmap.c:1555").return mm=0xffff88002ec309c0 addr=0x7fafeee03000 ffff8800260d1b00

[after]
> find_vma@mm/mmap.c:1555").return mm=0xffff88002ec309c0 addr=0x7fafeee03000 ffff88000e033a50

That return value is a struct vm_area_struct *.  So this means that it
found a different vma.  It would be helpful to see ->vm_{start,end}, etc.
of that using @cast syntax magic I can't exactly recall (do we have a
tapset "print_vma"?).  Also could perhaps try to stop in between and dump
the /proc/pid/maps (or internal equivalent) before each access_process_vm call.


Thanks,
Roland



More information about the Systemtap mailing list