首页>
外国专利>
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.
展开▼