发明授权
US08843684B2 Performing call stack sampling by setting affinity of target thread to a current process to prevent target thread migration
有权
通过将目标线程的亲和力设置为当前进程来防止目标线程迁移,来执行调用堆栈采样
- 专利标题: Performing call stack sampling by setting affinity of target thread to a current process to prevent target thread migration
- 专利标题(中): 通过将目标线程的亲和力设置为当前进程来防止目标线程迁移,来执行调用堆栈采样
-
申请号: US12813706申请日: 2010-06-11
-
公开(公告)号: US08843684B2公开(公告)日: 2014-09-23
- 发明人: Scott T. Jones , Kean G. Kuiper , Frank E. Levine , Enio M. Pineda
- 申请人: Scott T. Jones , Kean G. Kuiper , Frank E. Levine , Enio M. Pineda
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 代理机构: Konrad, Raynes, Davda & Victor LLP
- 代理商 Janaki K. Davda
- 主分类号: G06F13/24
- IPC分类号: G06F13/24
摘要:
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.
公开/授权文献
信息查询