简体   繁体   English

阅读linux内核源代码

[英]reading linux kernel source code

Is there a tool that helps in reading the linux kernel source code? 有没有工具可以帮助您阅读Linux内核源代码? I'm using linux most of time but is there a tool that makes it easier to navigate through the functions of the kernel? 我大部分时间都在使用linux,但是有没有一种工具可以使您更轻松地浏览内核的功能? Perhaps something like a debugger but it meant only for jumping to functions through the kernel? 也许像调试器一样,但是它仅意味着通过内核跳转到函数?

You could try some source navigator , or use ctags (or etags with emacs ), or cscope etc... 您可以尝试使用某些源导航器 ,或使用ctags (或etagsemacs )或cscope等。

You could consider also coccinelle . 您也可以考虑球菌

You could extend the GCC compiler, eg using MELT , to suit your needs. 您可以扩展GCC编译器,例如使用MELT ,以满足您的需求。

Most importantly, read some good books and tutorials about the kernel internals. 最重要的是,阅读一些有关内核内部的好书和教程。 Ask also on kernelnewbies.org 也可以在kernelnewbies.org上提问

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM