I'm linking my C++ program to tcmalloc with -ltcmalloc_minimal
in linux and i have install the ltcmalloc
lib with apt-get install libgoogle-perftools-dev
.
Do i need to add any include file to my project source files to enable tcmalloc in my project? Do tcmalloc replaces all the new/free/malloc in all libs used by my project?