1. A computer-implemented method comprising: receiving an interrupt at a device driver, wherein the device driver is adapted to store sampled context information after receiving the interrupt; in response to storing the sampled context information, using the device driver to notify a sampling thread; in response to being notified, using the sampling thread to identify one or more returned call stack nodes; and correlating, using the sampling thread, the returned call stack nodes with the sampled context information.