上一页 1 2 3 4 5 6 7 ··· 20 下一页
摘要: 一个ftrace的使用小示例,备忘用。 阅读全文
posted @ 2017-08-16 09:24 CobbLiu 阅读(384) 评论(0) 推荐(0) 编辑
摘要: There are times when you want to wrap a library function in order to provide some additional functionality. A common example of this is wrapping the standard library’s malloc() and free() so that you can easily track memory allocations in your program. While there are several techniques for wrapping library functions, one well-known method is using dlsym() with RTLD_NEXT to locate the wrapped function’s address so that you can correctly forward calls to it. 阅读全文
posted @ 2017-08-11 20:53 CobbLiu 阅读(939) 评论(0) 推荐(0) 编辑
摘要: Maybe virtual memory over commit is prevented in your system. If it is prevented, then the virtual memory can not be bigger than sizeof physical RAM + 阅读全文
posted @ 2017-08-11 15:24 CobbLiu 阅读(770) 评论(0) 推荐(0) 编辑
摘要: 1,跳过某个特定信号 (gdb) handle SIGPIPE nostop noprint pass 2,break在特定的系统调用处 (gdb) catch syscall 3 3,遇到一个断点的时候执行一组commands (gdb) commands 1 #在断点1出现的时候执行下面一组命令 阅读全文
posted @ 2017-08-10 09:20 CobbLiu 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 32位的变量做自增自减的性能比对它做原子加减操作的性能好。 阅读全文
posted @ 2017-06-26 19:21 CobbLiu 阅读(809) 评论(0) 推荐(0) 编辑
摘要: 本文描述如何利用blktrace, blkparse和btt对IO进行一些常见的分析 阅读全文
posted @ 2017-06-13 18:50 CobbLiu 阅读(8485) 评论(0) 推荐(0) 编辑
摘要: blktrace分析IO性能 阅读全文
posted @ 2017-06-13 16:27 CobbLiu 阅读(965) 评论(0) 推荐(0) 编辑
摘要: 记录一下,省得用的时候到处查 阅读全文
posted @ 2017-06-13 09:03 CobbLiu 阅读(3162) 评论(0) 推荐(0) 编辑
摘要: If you’re running Linux, then it’s likely that you’ve needed to change some options for your file systems. Getting acquainted with fstab can make the whole process a lot easier, and it’s much easier than you think. 阅读全文
posted @ 2017-06-07 08:37 CobbLiu 阅读(434) 评论(0) 推荐(0) 编辑
摘要: 如何编译dpdk和spdk的动态库 阅读全文
posted @ 2017-04-24 21:02 CobbLiu 阅读(2002) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 20 下一页