博客地址:http://home.cnblogs.com/u/zengjianrong/
上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页
摘要: https://github.com/google/sanitizers/wiki https://github.com/google/sanitizers/wiki/ThreadSanitizerCppManual Introduction ThreadSanitizer (aka TSan) i 阅读全文
posted @ 2019-11-01 15:51 black_man 阅读(889) 评论(0) 推荐(0) 编辑
摘要: https://github.com/google/sanitizers/wiki https://github.com/google/sanitizers/wiki/AddressSanitizer AddressSanitizer (aka ASan) is a memory error det 阅读全文
posted @ 2019-11-01 15:48 black_man 阅读(936) 评论(0) 推荐(0) 编辑
摘要: 前言 gperf tools有很多功能,其中有一个heap profiler,可按函数级别定位分配内存的累积量 原理 gperf tools需要替换libc的malloc库,替换为tcmalloc:thread cache malloc,通过在tcmalloc加打桩,即可定位函数级别的内存的累积量 阅读全文
posted @ 2019-11-01 15:23 black_man 阅读(773) 评论(0) 推荐(0) 编辑
摘要: cmake链接库失败时,可通过打印路径下对应的lib来定位问题 execute_process(COMMAND ls -lt ${CMAKE_CURRENT_SOURCE_DIR}/lib #执行shell命令 ls OUTPUT_VARIABLE LS_OUT #将ls的输出赋值给LS_OUT ) 阅读全文
posted @ 2019-10-22 21:27 black_man 阅读(438) 评论(0) 推荐(0) 编辑
摘要: 2021-01-28 https://blog.csdn.net/networken/article/details/105122778 git config --global url."https://hub.fastgit.org".insteadOf https://github.com #替 阅读全文
posted @ 2019-10-13 12:54 black_man 阅读(832) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s?__biz=MzAwMDUwNDgxOA==&mid=2652663676&idx=1&sn=b18ab57322594ebb8e7072e635e8bd1c&chksm=810f29e1b678a0f7238e8a71fd88f14c3c71e 阅读全文
posted @ 2019-08-01 02:02 black_man 阅读(916) 评论(0) 推荐(0) 编辑
摘要: 1. 获取进程的所有PTE表项,从而得到所有物理地址 参考:https://www.cnblogs.com/pengdonglin137/p/6802108.html 通过/proc/pid/pagemap 1 #include <stdio.h> 2 #include <stdlib.h> 3 # 阅读全文
posted @ 2019-07-11 11:51 black_man 阅读(1277) 评论(0) 推荐(0) 编辑
摘要: 1 #!/bin/bash 2 3 pid=$(ps -T -p $(pgrep xxx) | grep xxx | gawk -F" " '{print $2}') 4 if [ -z $pid ]; then 5 echo "can not find xxx" 6 exit 1 7 fi 8 echo "pid: "$pid 9 prev_runtime=... 阅读全文
posted @ 2019-06-27 21:27 black_man 阅读(1266) 评论(0) 推荐(0) 编辑
摘要: Hash冲突的解决--暴雪的Hash算法https://usench.iteye.com/blog/2199399https://www.bbsmax.com/A/kPzOO7a8zx/ 阅读全文
posted @ 2019-02-15 12:09 black_man 阅读(142) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2019-01-30 02:55 black_man 阅读(1) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页