[ltt-dev] UST Instrumenting function entries and exits

Michel Dagenais michel.dagenais at polymtl.ca
Thu May 12 17:30:39 EDT 2011


> We could do a compromise and save the string the when there is a new
> address. There are many caching schemes that can work.

You normally save the address (or the caller return address if you are in a hook function like mcount). Then you use the debugging info (e.g. using libdwarf) to map to the function name. Indeed, you also need to instrument library loading to know which shared library is loaded at which offset.




More information about the lttng-dev mailing list