首页> 外文期刊>Operating systems review >JIT Instrumentation - A Novel Approach To Dynamically Instrument Operating Systems
【24h】

JIT Instrumentation - A Novel Approach To Dynamically Instrument Operating Systems

机译:JIT Instrumentation-动态仪器操作系统的新方法

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

As modern operating systems become more complex, understanding their inner workings is increasingly difficult. Dynamic kernel instrumentation is a well established method of obtaining insight into the workings of an OS, with applications including debugging, profiling and monitoring, and security auditing. To date, all dynamic instrumentation systems for operating systems follow the probe-based instrumentation paradigm. While efficient on fixed-length instruction set architectures, probes are extremely expensive on variable-length ISAs such as the popular Intel x86 and AMD x86-64. We propose using just-in-time (JIT) instrumentation to overcome this problem. While common in user space, JIT instrumentation has not until now been attempted in kernel space. In this work, we show the feasibility and desirability of kernel-based JIT instrumentation for operating systems with our novel prototype, implemented as a Linux kernel module. The prototype is fully SMP capable. We evaluate our prototype against the popular Kprobes Linux instrumentation tool. Our prototype outperforms Kprobes, at both micro and macro levels, by orders of magnitude when applying medium- and fine-grained instrumentation.
机译:随着现代操作系统变得越来越复杂,了解其内部运作方式变得越来越困难。动态内核检测是一种建立完善的方法,可通过应用程序(包括调试,性能分析和监控以及安全审核)来深入了解操作系统的运行情况。迄今为止,用于操作系统的所有动态检测系统都遵循基于探针的检测范例。探针虽然在固定长度的指令集体系结构上很有效,但在可变长度ISA(例如流行的Intel x86和AMD x86-64)上的探针却非常昂贵。我们建议使用实时(JIT)仪器来解决此问题。尽管JIT工具在用户空间中很常见,但是直到现在还没有在内核空间中尝试过。在这项工作中,我们以新颖的原型(通过Linux内核模块实现)展示了基于内核的JIT仪器在操作系统上的可行性和可取性。该原型具有完全的SMP功能。我们根据流行的Kprobes Linux仪器工具评估我们的原型。当应用中粒度和细粒度的仪器时,我们的原型在微观和宏观方面都比Kprobes好几个数量级。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号