首页> 外国专利> Static instrumentation macros for fast declaration free dynamic probes

Static instrumentation macros for fast declaration free dynamic probes

机译:静态检测宏,用于快速声明无动态探针

摘要

Embodiments of the present invention provide a dynamic instrumentation system that uses statically defined probes. The probes may be defined using macro definitions. One or more libraries of macro definitions that are linked to static probes are provided in the computer system. Each probe is uniquely identified by a name having a well-defined prefix and a structured format. Probes may then be inserted at various locations and into the target software using standard macro calls. When the target software is compiled, the macro calls of each probe are expanded to calls to an existing function known as a probe handler function. Each probe handler function is identified in the computer system's symbol table with a unique symbol that corresponds to the name specified by the macro definition. When a probe is activated, the operating system kernel transfers control to an instrumentation kernel object. The instrumentation kernel object locates and runs the probe handler function to perform the actions requested for that probe.
机译:本发明的实施例提供了一种使用静态定义的探针的动态仪器系统。可以使用宏定义来定义探针。计算机系统中提供了一个或多个链接到静态探针的宏定义库。每个探针由具有明确定义的前缀和结构化格式的名称唯一标识。然后可以使用标准宏调用将探针插入各个位置并插入目标软件。编译目标软件时,每个探针的宏调用都会扩展为对称为探针处理程序函数的现有函数的调用。在计算机系统的符号表中,每个探针处理程序功能都用一个唯一的符号标识,该符号对应于宏定义所指定的名称。激活探针后,操作系统内核将控制权转移到工具内核对象。检测内核对象定位并运行探针处理程序功能以执行为该探针请求的操作。

著录项

  • 公开/公告号US8739135B2

    专利类型

  • 公开/公告日2014-05-27

    原文格式PDF

  • 申请/专利权人 FRANK EIGLER;

    申请/专利号US20050266199

  • 发明设计人 FRANK EIGLER;

    申请日2005-11-04

  • 分类号G06F9/44;

  • 国家 US

  • 入库时间 2022-08-21 16:02:09

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号