[dtrace-discuss] Re: Incorrect information showed by dtrace

Nilendra Jain
Thu, 01 Mar 2007 12:54:49 -0000

It is a C++ application. I have verified that this function is not calling
malloc and friends repeatedly. It is just allocating 2 structures.

This function is called at the start of every phone call. So logically there
should be just 2 instances of this function per call (one for each structure) in
the dtrace file. Surprisingly after one call I find that there are 295
occurrences of this function after one call and also after 10 calls the number
remains the same.

I am printing the userstack using ustack. In all the cases the stack is almost
the same, but the size of the memory allocated varies and also the pointer
address changes.