Joseph D. Wagner wrote:
I'm trying to write a tracer on memory allocation, and I'm having a little
trouble figuring this out.
At some point, malloc has to call the kernel to tell it to allocate more
memory for this user process, right? I can't figure out which function
malloc calls, or where in
>> I'm looking at glib-2.3.1 to try and find my answers. After
>> all, that's where malloc is defined, right?
> It's in glibc (GNU libc), not glib (the GNOME utility library).
Sorry, I meant to say glibc. I double checked. I am using glibc-2.3.1.
Joseph Wagner
-
To unsubscribe from this list
Joseph D. Wagner wrote:
> I'm trying to write a tracer on memory allocation, and I'm having a little
> trouble figuring this out.
>
> At some point, malloc has to call the kernel to tell it to allocate more
> memory for this user process, right? I can't figure out which function
> malloc calls,
On Sun, Dec 08, 2002 at 12:46:57PM -0600, Joseph D. Wagner wrote:
> I'm trying to write a tracer on memory allocation, and I'm having a little
> trouble figuring this out.
You sure this has not been done before?
>
> At some point, malloc has to call the kernel to tell it to allocate more
> memory
I'm trying to write a tracer on memory allocation, and I'm having a little
trouble figuring this out.
At some point, malloc has to call the kernel to tell it to allocate more
memory for this user process, right? I can't figure out which function
malloc calls, or where in the code (line number) it