Performing call stack sampling by setting affinity of target thread to a current process to prevent target thread migration
US8843684B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Jun 11, 2010 |
| Grant date | Sep 23, 2014 |
| Priority date | — |
| Expiry date | Jun 11, 2030 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F9/4812
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
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.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.