1. A computer implemented method of sampling call stack information, the computer implemented method comprising: monitoring an accumulated latency time for a set of threads executing in a data processing system; and responsive to a thread in the set of threads having an associated accumulated latency exceeding a threshold, obtaining the call stack information for the thread.