首页> 外国专利> Method and apparatus for determining computer program flows autonomically using hardware assisted thread stack tracking and cataloged symbolic data

Method and apparatus for determining computer program flows autonomically using hardware assisted thread stack tracking and cataloged symbolic data

机译:使用硬件辅助线程堆栈跟踪和分类符号数据自动确定计算机程序流的方法和设备

摘要

A method, apparatus, and computer instructions for determining computer flows autonomically using hardware assisted thread stack and cataloged symbolic data. When a new thread is spawned during execution of a computer program, new thread work area is allocated by the operating system in memory for storage of call stack information for the new thread. Hardware registers are set with values corresponding to the new thread work area. Upon context switch, values of the registers are saved in a context save area for future restoration.;When call stack data is post-processed, the operating system or a device driver copies call stack data from the thread work areas to a consolidated buffer and each thread is mapped to a process. Symbolic data may be obtained based on the process identifier and address of the method/routine that was called/returned in the thread. Corresponding program flow is determined using retrieved symbolic data and call stack data.
机译:一种使用硬件辅助线程堆栈和分类符号数据自动确定计算机流量的方法,装置和计算机指令。在计算机程序执行期间生成新线程时,操作系统会在内存中分配新线程工作区,以存储新线程的调用堆栈信息。硬件寄存器设置有对应于新线程工作区的值。上下文切换后,寄存器的值将保存在上下文保存区域中,以备将来还原。当对调用栈数据进行后处理时,操作系统或设备驱动程序会将调用栈数据从线程工作区复制到统一缓冲区中,每个线程都映射到一个进程。可以基于进程标识符和在线程中调用/返回的方法/例程的地址来获取符号数据。使用检索到的符号数据和调用堆栈数据确定相应的程序流。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号