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]

Re: setting a shared library static


[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


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