tcmalloc asan

http://blog.csdn.net/jinzhuojun/article/details/46659155

http://blog.csdn.net/hanlizhong85/article/details/78076668

https://wiki.tizen.org/ASan

http://www.mincoder.com/article/2604.shtml

http://blog.csdn.net/jhzhou/article/details/7245992

8.文本输出

% pprof gfs_master profile.0100.heap
   255.6  24.7%  24.7%    255.6  24.7% GFS_MasterChunk::AddServer
   184.6  17.8%  42.5%    298.8  28.8% GFS_MasterChunkTable::Create
   176.2  17.0%  59.5%    729.9  70.5% GFS_MasterChunkTable::UpdateState
   169.8  16.4%  75.9%    169.8  16.4% PendingClone::PendingClone
    76.3   7.4%  83.3%     76.3   7.4% __default_alloc_template::_S_chunk_alloc
    49.5   4.8%  88.0%     49.5   4.8% hashtable::resize
   ...
    • 第一列包含了直接内存使用,单位是MB
    • 第四列包含了它调用的模块的内存使用
    • 第二列和第五列为第一列和第四列的百分比。
    • 第三列为 第二列的 此行之前元素总和
原文地址:https://www.cnblogs.com/xuxm2007/p/8426146.html