> 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.

_______________________________________________
ltt-dev mailing list
[email protected]
http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev

Reply via email to