Invention Grant
US08843684B2 Performing call stack sampling by setting affinity of target thread to a current process to prevent target thread migration
有权
通过将目标线程的亲和力设置为当前进程来防止目标线程迁移,来执行调用堆栈采样
- Patent Title: Performing call stack sampling by setting affinity of target thread to a current process to prevent target thread migration
- Patent Title (中): 通过将目标线程的亲和力设置为当前进程来防止目标线程迁移,来执行调用堆栈采样
-
Application No.: US12813706Application Date: 2010-06-11
-
Publication No.: US08843684B2Publication Date: 2014-09-23
- Inventor: Scott T. Jones , Kean G. Kuiper , Frank E. Levine , Enio M. Pineda
- Applicant: Scott T. Jones , Kean G. Kuiper , Frank E. Levine , Enio M. Pineda
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Konrad, Raynes, Davda & Victor LLP
- Agent Janaki K. Davda
- Main IPC: G06F13/24
- IPC: G06F13/24

Abstract:
A sample is generated based on an event. Further, an interrupt handler captures information for an interrupted thread on a current processor. In addition, an affinity of the interrupted thread is set such that the interrupted thread runs only on the current processor without being able to migrate to a different processor. A sampler thread that runs on the current processor retrieves a call stack associated with the interrupted thread after the affinity of the interrupted thread has been set to the current processor. The affinity of the interrupted thread is restored after the call stack has been retrieved.
Public/Granted literature
- US20110307640A1 CALL STACK SAMPLING WITH LIGHTWEIGHT THREAD MIGRATION PREVENTION Public/Granted day:2011-12-15
Information query