Invention Grant
US07987453B2 Method and apparatus for determining computer program flows autonomically using hardware assisted thread stack tracking and cataloged symbolic data
失效
使用硬件辅助线程堆栈跟踪和编目的符号数据自动地确定计算机程序流的方法和装置
- Patent Title: Method and apparatus for determining computer program flows autonomically using hardware assisted thread stack tracking and cataloged symbolic data
- Patent Title (中): 使用硬件辅助线程堆栈跟踪和编目的符号数据自动地确定计算机程序流的方法和装置
-
Application No.: US10803663Application Date: 2004-03-18
-
Publication No.: US07987453B2Publication Date: 2011-07-26
- Inventor: Jimmie Earl DeWitt, Jr. , Frank Eliot Levine , Christopher Michael Richardson , Robert John Urquhart
- Applicant: Jimmie Earl DeWitt, Jr. , Frank Eliot Levine , Christopher Michael Richardson , Robert John Urquhart
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Yee & Associates, P.C.
- Agent David A. Mims, Jr.
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F9/00

Abstract:
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.
Public/Granted literature
Information query