gperftools检查内存泄露/越界等问题的简易说明

大名鼎鼎的Google的内存检查工具web 1 编译gperftools 自己库的编译没啥好说的,标准流程,须要automake支持数组 ./autogen.sh ./configure make && make install 2 编译应用程序 在实际工程的Makefile中添加LIB库依赖. 通常来讲 -ltcmalloc就能够了 若是须要使用Profiler的功能,那么用 -ltcmallo
相关文章
相关标签/搜索