This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


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

Re: ld-auto-import memory bug fixing


Hi,

I like to analyse how ld grab memory in which functions. For that I have patched
malloc relating functions like xmalloc, bfd_malloc,... to print out the function
in which it is called, the params/result and accumulated memory usage.

At next I like to know the tree of functions which have this functions called
(like backtrace).
I know that gcc has support of basic block profiling. Could this used in anyway
to automated print out functions name on calling the relating functions ?

--Ralf


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