我正在Linux上使用
-ltcmalloc_minimal
链接tcmalloc库到我的C++程序中,并且已经用apt-get install libgoogle-perftools-dev
安装了ltcmalloc
库。我需要在我的项目源文件中添加任何包含文件来启用项目中的tcmalloc吗?tcmalloc是否替换了项目使用的所有库中的new/free/malloc?