内核中查看task_struct结构体教程

在linux下,路径:/usr/src/kernels/3.10.0-327.el7.x86_64(这个是自己kernels目录下的)/include/linux/sched.h 用管道命令查找: [[email protected] linux]$ grep -n task_struct sched.h  结果显示出来很多,不好找 直接打开sched.h文件 [[email protected]
相关文章
相关标签/搜索