gperftools檢查內存泄露/越界等問題的簡易說明

大名鼎鼎的Google的內存檢查工具web 1 編譯gperftools 自己庫的編譯沒啥好說的,標準流程,須要automake支持數組 ./autogen.sh ./configure make && make install 2 編譯應用程序 在實際工程的Makefile中添加LIB庫依賴. 通常來講 -ltcmalloc就能夠了 若是須要使用Profiler的功能,那麼用 -ltcmallo
相關文章
相關標籤/搜索