摘要
提供了一个了解Liunx众多的内核源代码的方法,分析了如何在计算机上使用远程调试来分析Linux内核源代码,并以LinuxTCP/IP协议驱动程序为例,描述内核程序的流程.使用KGDB与GDB来实现远程调试,并利用工具KernProf来分析内核函数间的相互关系.
Linux is a most general operation system with opened source code.However,it is rather difficult to understand its kernel source code.This ppaer provides a good way to do so,tells us how to analyse Linux kernel source code by remote debug on another computer,and take Linux TCP/IP protocol driver as an example to describe the flow of kernel program.We use KGDB and GDB to realize the remote debug.In addition,we also make use of KernProf to analyse mutual relation of kernel functions.
出处
《沈阳师范大学学报(自然科学版)》
CAS
2003年第2期108-111,共4页
Journal of Shenyang Normal University:Natural Science Edition