Andi Kleen:让Linux开发更加高效的工具介绍.pdf
《Andi Kleen:让Linux开发更加高效的工具介绍.pdf》由会员分享,可在线阅读,更多相关《Andi Kleen:让Linux开发更加高效的工具介绍.pdf(24页珍藏版)》请在三一文库上搜索。
1、 Improving Linux Development with better tools Andi Kleen Oct 2013 Intel Corporation Linux complexity growing V3.6V3.7V3.8V3.9V3.10V3.11 13.5 14 14.5 15 15.5 16 16.5 Source lines in Linux kernel All source code Kernel version M-LOC V2.6.16 V2.6.32 V3.6 V3.7 V3.8 V3.9 V3.10 V3.11 0 0.05 0.1 0.15 0.2
2、 0.25 0.3 0.35 Source lines Linux Kernel core kernel/ lib Kernel M-LOC V2.6.16V2.6.32 V3.6V3.7V3.8V3.9V3.10V3.11 0 0.5 1 1.5 2 2.5 Linux kernel source lines IO net/ fs/ block/ Kernel version M-LOC Do we have a problem? If we assume number of bugs stays constant per line there would be more and more
3、bugs If we assume programmers dont get cleverer some code may become too complex to change/debug Of course modularity saves us to some degree Or we can use better tools to find bugs Static code checker tools Dynamic runtime checkers Fuzzers/test suites Debuggers/Tracers to understand code Tools to r
4、ead/understand source Static checkers sparse, smatch, coccinelle, clang checker, checkpatch, gcc -W/LTO, stanse Can check a lot of things, simple mistakes, complex problems Generic C and kernel specific rules Static checker challenges Some are very slow False positives Often only can do new warnings
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- Andi Kleen:让Linux开发更加高效的工具介绍 Kleen Linux 开发 更加 高效 工具 介绍
链接地址:https://www.31doc.com/p-3329609.html