摘要:
待补充; 阅读全文
摘要:
工具准备 ubuntu:sudo apt-get install perf 嵌入式平台:下载源码编译 注意:编译过程中会有Auto-detectiing system feature的依赖库打印,注意其中off的,代表此库没有符号表; 测试程序增加-fno-omit-fram-pointer -fn 阅读全文
摘要:
https://github.com/google/sanitizers/wiki https://github.com/google/sanitizers/wiki/MemorySanitizer Introduction MemorySanitizer (MSan) is a detector 阅读全文
摘要:
https://github.com/google/sanitizers/wiki https://github.com/google/sanitizers/wiki/ThreadSanitizerCppManual Introduction ThreadSanitizer (aka TSan) i 阅读全文
摘要:
https://github.com/google/sanitizers/wiki https://github.com/google/sanitizers/wiki/AddressSanitizer AddressSanitizer (aka ASan) is a memory error det 阅读全文
摘要:
前言 gperf tools有很多功能,其中有一个heap profiler,可按函数级别定位分配内存的累积量 原理 gperf tools需要替换libc的malloc库,替换为tcmalloc:thread cache malloc,通过在tcmalloc加打桩,即可定位函数级别的内存的累积量 阅读全文