【24h】

Uscope: A scalable unified tracer from kernel to user space

机译:Uscope:从内核到用户空间的可伸缩统一跟踪器

获取原文
获取原文并翻译 | 示例

摘要

Unified tracing is the process of collecting trace logs across the boundary of kernel and user spaces, and has been used to understand the in-depth correspondence between low level events and application program context for diagnosing system failures and performance problems. Crossing the boundary from the kernel space to a user space to collect trace events from dual spaces imposes challenges compared to crossing the boundary in the other way from a user space to the kernel space due to multiple scheduled programs and diverse code layouts in the user space regarding the tracing target. In this paper, we propose a novel unified tracing system called Uscope to systematically trace kernel and unprecedented user code with low overhead. The key idea is to use an efficient variant of stack walking. Uscope lowers stack walking overhead by adjusting the scope of walking in two ways: (1) a highly configurable focus within the call stack, and (2) a per-application tracing that systematically tracks a dynamic set of new, exiting, or transforming processes and threads of an application software. This system is realized by using a flexible stack walking algorithm and a runtime kernel structure, Trace Map. These key features lead to low run-time overhead under 6% relative to native execution on a set of widely used benchmarks.
机译:统一跟踪是跨内核和用户空间边界收集跟踪日志的过程,已用于了解低级事件和应用程序上下文之间的深入对应关系,以诊断系统故障和性能问题。与从用户空间到内核空间的另一种方式越过边界相比,跨内核空间到用户空间的边界来收集来自双重空间的跟踪事件带来了挑战,因为用户空间中有多个调度程序和不同的代码布局关于跟踪目标。在本文中,我们提出了一种新颖的统一跟踪系统,称为Uscope,以较低的开销系统地跟踪内核和空前的用户代码。关键思想是使用堆栈遍历的高效变体。 Uscope通过以下两种方式调整遍历的范围,从而降低了堆栈遍历的开销:(1)调用栈中高度可配置的焦点;(2)每个应用程序的跟踪,系统地跟踪新的,正在退出的或正在转换的动态过程集和应用软件的线程。该系统是通过使用灵活的堆栈遍历算法和运行时内核结构Trace Map实现的。与一组广泛使用的基准上的本机执行相比,这些关键功能导致运行时开销较低,不到6%。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号