1. A computer implemented method for sampling call stack information, the computer implemented method comprising: monitoring for an idle event during an execution of a plurality of threads by a set of processors; responsive to an occurrence of the idle event, identifying portion of the plurality of threads based on a policy to form a set of identified threads; and signaling a profiler to collect call stack information for at least one thread in the set of identified threads, in response to the signaling.