发明授权
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
摘要:
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.
信息查询
0/0