[dtrace-discuss] Re: allocated buffer in real time

Lafontaine fablaf61 at hotmail.com
Thu Jun 7 04:04:13 PDT 2007


Hello Adam! Thank you for your answer.
I don't know libumem very well but I'm not sure it is very usefull for my application:
the process I watch use internal functions to allocate (__1cKmem_alloc_6FkIkiknJBoolean_t_1pkc_pv) and free memory (*__1cJmem_free_6FkIppvkipkc_nJRC_Code_t__*). For the allocation function, arg1 is the address to allocate, and for the free function, arg1 is a pointer, that's why I use copyin on this address to see the real address of the allocation. Am I clear? And it works because when I printf arg1 in the allocation function and *(uint32_t *)copyin(arg1,sizeof(uint32_t)) in the free function, I get the same value. But the aggregation @bufs doesn't seem to think that... Any solutions?
I need to use Dtrace because I can't stop  the running process I want to analyse...

Thank you for your patience ;-)

Fabien.
--
This message posted from opensolaris.org


More information about the dtrace-discuss mailing list