本文已被:浏览 2087次 下载 3396次
Received:June 03, 2012 Revised:July 18, 2012
Received:June 03, 2012 Revised:July 18, 2012
中文摘要: 当前驱动调试过程中, 获取某些寄存器的值大都采用把该值输出到日志文件的方式来查看; 在嵌入式Linux应用开发中, 父进程检测子进程的状态往往通过子进程主动向父进程发送消息的方式来获得. 通过分析proc文件系统的注册、安装、管理发现该文件系统可以对上述问题进行优化, 提出proc文件系统用于驱动程序的调试和监视子进程状态的解决方案, 对加快驱动调试和提高应用程序的稳定性有十分重要的意义.
Abstract:In the current driver debugging process when access to certain register values, most of us output the value to the log file to see; In embedded Linux application development, parent process detect sub-process's state using the way child process initiatively send message to the parent process. Through analysis the registration, install, management of the proc file system can optimize the above problems, and put forward using proc file system to debugging of the driver and monitoring sub-state which have a great significance to speed up the debug of driver and improve the stability of the application.
keywords: Linux virtual file system proc file system kernel
文章编号: 中图分类号: 文献标志码:
基金项目:
引用文本:
赵付强,李允俊,宫彦磊.Proc文件系统的研究与应用.计算机系统应用,2013,22(1):87-90
ZHAO Fu-Qiang,LI Yun-Jun,GONG Yan-Lei.Research and Application of Proc File System.COMPUTER SYSTEMS APPLICATIONS,2013,22(1):87-90
赵付强,李允俊,宫彦磊.Proc文件系统的研究与应用.计算机系统应用,2013,22(1):87-90
ZHAO Fu-Qiang,LI Yun-Jun,GONG Yan-Lei.Research and Application of Proc File System.COMPUTER SYSTEMS APPLICATIONS,2013,22(1):87-90