首页> 外文会议>IEEE/ACM International Conference on Automated Software Engineering >Diagnosys: automatic generation of a debugging interface to the Linux kernel
【24h】

Diagnosys: automatic generation of a debugging interface to the Linux kernel

机译:诊断:将调试接口自动生成Linux内核的调试接口

获取原文

摘要

The Linux kernel does not export a stable, well-defined kernel interface, complicating the development of kernel-level services, such as device drivers and file systems. While there does exist a set of functions that are exported to external modules, this set of functions frequently changes, and the functions have implicit, ill-documented preconditions. No specific debugging support is provided. We present Diagnosys, an approach to automatically constructing a debugging interface for the Linux kernel. First, a designated kernel maintainer uses Diagnosys to identify constraints on the use of the exported functions. Based on this information, developers of kernel services can then use Diagnosys to generate a debugging interface specialized to their code. When a service including this interface is tested, it records information about potential problems. This information is preserved following a kernel crash or hang. Our experiments show that the generated debugging interface provides useful log information and incurs a low performance penalty.
机译:Linux内核不会导出稳定,明确定义的内核界面,使内核级服务的开发复杂化,例如设备驱动程序和文件系统。虽然确实存在导出到外部模块的一组函数,但这组函数经常更改,并且功能具有隐式,令人暗示的前提条件。没有提供特定的调试支持。我们呈现诊断,一种自动构建Linux内核的调试接口的方法。首先,指定的内核维护者使用诊断来识别对使用导出的功能的约束。基于此信息,内核服务的开发人员可以使用诊断生成专门用于其代码的调试界面。当测试包括此接口的服务时,它记录有关潜在问题的信息。在内核崩溃或挂起之后保留此信息。我们的实验表明,生成的调试界面提供了有用的日志信息并引发了低性能损失。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号