发明名称 Scalable system call stack sampling
摘要 An interrupt is generated based on an event. Further, a thread is selected for monitoring. In addition, an interrupt handler captures information for the monitored thread. An affinity of the monitored thread is set such that the monitored thread runs only on a 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 a monitored thread after the affinity of the monitored thread has been set to the current processor.
申请公布号 US8799904(B2) 申请公布日期 2014.08.05
申请号 US201113011621 申请日期 2011.01.21
申请人 International Business Machines Corporation 发明人 Kuiper Kean G.;Levine Frank E.
分类号 G06F9/455;G06F9/44 主分类号 G06F9/455
代理机构 Konrad, Raynes, Davda & Victor LLP 代理人 Davda Janaki K.;Konrad, Raynes, Davda & Victor LLP
主权项 1. A computer program product for multi-threading, the computer program product comprising: a non-transitory computer readable storage medium having computer readable program code embodied therewith, the computer readable program code comprising: computer readable program code configured to generate an interrupt based on an event; computer readable program code configured to select a thread for monitoring; computer readable program code configured to capture information, with an interrupt handler, for a monitored thread; computer readable program code configured to set an affinity of the monitored thread such that the monitored thread runs only on a current processor without being able to migrate to a different processor; and computer readable program code configured to retrieve, with a sampler thread that runs on the current processor, a call stack associated with a monitored thread after the affinity of the monitored thread has been set to the current processor.
地址 Armonk NY US