Call Stack Sampling for a Multi-Processor System
    1.
    发明申请
    Call Stack Sampling for a Multi-Processor System 审中-公开
    多处理器系统的呼叫栈采样

    公开(公告)号:US20100017583A1

    公开(公告)日:2010-01-21

    申请号:US12173047

    申请日:2008-07-15

    IPC分类号: G06F9/30

    CPC分类号: G06F11/3612

    摘要: A computer implemented method, apparatus, and computer usable program code for sampling call stack information. Responsive to identifying an interrupt, a determination is made as to whether all processors in a plurality of processors have generated the interrupt. A determination is made as whether to sample the call stack information based on a policy in response to a determination that all of the processors have generated the interrupt. The call stack information is sampled if a determination is made to sample the call stack information based on the policy

    摘要翻译: 计算机实现的方法,装置和用于对呼叫栈信息进行采样的计算机可用程序代码。 响应于识别中断,确定多个处理器中的所有处理器是否已经产生中断。 作出响应于所有处理器已经产生中断的确定,基于策略对采样堆栈信息进行采样的确定。 如果确定根据策略对呼叫堆栈信息进行采样,则调用堆栈信息被采样

    Method and Apparatus for Call Stack Sampling in a Data Processing System
    3.
    发明申请
    Method and Apparatus for Call Stack Sampling in a Data Processing System 失效
    数据处理系统中调用堆栈采样的方法和装置

    公开(公告)号:US20090044198A1

    公开(公告)日:2009-02-12

    申请号:US11834779

    申请日:2007-08-07

    IPC分类号: G06F9/46

    摘要: A computer implemented method, apparatus, and computer usable program code for sampling call stack information. An event is monitored during execution of a plurality of threads executed by a plurality of processors. In response to an occurrence of the event, a thread is identified in the plurality of threads to form an identified thread. A plurality of sampling threads is woken, wherein a sampling thread within the plurality of sampling threads is associated with each processor in the plurality of processors and wherein one sampling thread in the plurality of sampling threads obtains call stack information for the identified thread.

    摘要翻译: 计算机实现的方法,装置和用于对呼叫栈信息进行采样的计算机可用程序代码。 在由多个处理器执行的多个线程的执行期间监视事件。 响应于事件的发生,在多个线程中识别线程以形成所识别的线程。 唤醒多个采样线程,其中多个采样线程内的采样线程与多个处理器中的每个处理器相关联,并且其中多个采样线程中的一个采样线程获得所识别的线程的调用堆栈信息。

    System and Method for Call Stack Sampling Combined with Node and Instruction Tracing
    4.
    发明申请
    System and Method for Call Stack Sampling Combined with Node and Instruction Tracing 失效
    与节点和指令跟踪组合的调用堆栈采样的系统和方法

    公开(公告)号:US20080307441A1

    公开(公告)日:2008-12-11

    申请号:US11759588

    申请日:2007-06-07

    IPC分类号: G06F9/44

    CPC分类号: G06F9/4484

    摘要: A system and method for Java™ call stack sampling combined with native sampling is presented. A kernel-mode device driver records and stores sampled context information that includes a program counter, a thread identifier, and a process identifier. The sampling thread receives a notification from the kernel-mode device driver, and proceeds to collect call stack information from a Java™ Virtual Machine. In turn, the sampling thread retrieves the sampled context information and harvests symbols corresponding to a loaded module. Once symbols are harvested, the sampling thread combines returned call stack nodes with native function leaf nodes into a unified output tree that provides the relationship between the two different node types. In one embodiment, the sampling thread may generate native function leaf nodes and the unified output tree in a post-processing manner.

    摘要翻译: 提出了一种用于Java(TM)调用堆栈抽样与本机抽样结合的系统和方法。 内核模式设备驱动程序记录并存储包括程序计数器,线程标识符和进程标识符的采样上下文信息。 采样线程从内核模式设备驱动程序接收通知,并继续从Java(TM)虚拟机收集调用堆栈信息。 反过来,采样线程检索采样的上下文信息并收获对应于加载的模块的符号。 一旦收到符号,采样线程将返回的调用堆栈节点与本机功能叶节点组合成统一的输出树,提供两种不同节点类型之间的关系。 在一个实施例中,采样线程可以以后处理方式生成本机功能叶节点和统一输出树。

    Call stack sampling in a data processing system
    5.
    发明授权
    Call stack sampling in a data processing system 失效
    在数据处理系统中调用堆栈采样

    公开(公告)号:US08132170B2

    公开(公告)日:2012-03-06

    申请号:US11834779

    申请日:2007-08-07

    IPC分类号: G06F9/455 G06F9/44

    摘要: A computer implemented method, apparatus, and computer usable program code for sampling call stack information. An event is monitored during execution of a plurality of threads executed by a plurality of processors. In response to an occurrence of the event, a thread is identified in the plurality of threads to form an identified thread. A plurality of sampling threads is woken, wherein a sampling thread within the plurality of sampling threads is associated with each processor in the plurality of processors and wherein one sampling thread in the plurality of sampling threads obtains call stack information for the identified thread.

    摘要翻译: 计算机实现的方法,装置和用于对呼叫栈信息进行采样的计算机可用程序代码。 在由多个处理器执行的多个线程的执行期间监视事件。 响应于事件的发生,在多个线程中识别线程以形成所识别的线程。 唤醒多个采样线程,其中多个采样线程内的采样线程与多个处理器中的每个处理器相关联,并且其中多个采样线程中的一个采样线程获得所识别的线程的调用堆栈信息。

    System and method for call stack sampling combined with node and instruction tracing
    7.
    发明授权
    System and method for call stack sampling combined with node and instruction tracing 失效
    用于调用堆栈采样的系统和方法结合节点和指令跟踪

    公开(公告)号:US07962924B2

    公开(公告)日:2011-06-14

    申请号:US11759588

    申请日:2007-06-07

    IPC分类号: G06F3/00 G06F9/45

    CPC分类号: G06F9/4484

    摘要: A system and method for Java™ call stack sampling combined with native sampling is presented. A kernel-mode device driver records and stores sampled context information that includes a program counter, a thread identifier, and a process identifier. The sampling thread receives a notification from the kernel-mode device driver, and proceeds to collect call stack information from a Java™ Virtual Machine. In turn, the sampling thread retrieves the sampled context information and harvests symbols corresponding to a loaded module. Once symbols are harvested, the sampling thread combines returned call stack nodes with native function leaf nodes into a unified output tree that provides the relationship between the two different node types. In one embodiment, the sampling thread may generate native function leaf nodes and the unified output tree in a post-processing manner.

    摘要翻译: 提出了一种用于Java™调用堆栈采样与本地采样相结合的系统和方法。 内核模式设备驱动程序记录并存储包括程序计数器,线程标识符和进程标识符的采样上下文信息。 采样线程从内核模式设备驱动程序接收通知,并继续从Java™虚拟机收集调用堆栈信息。 反过来,采样线程检索采样的上下文信息并收获对应于加载的模块的符号。 一旦收到符号,采样线程将返回的调用堆栈节点与本机功能叶节点组合成统一的输出树,提供两种不同节点类型之间的关系。 在一个实施例中,采样线程可以以后处理方式生成本机功能叶节点和统一输出树。