1. A computer implemented method for generating data in a log file, the computer implemented method comprising: a computer, responsive to a detection of a profiling event during an execution of a software program, interrupting the execution of the software program; the computer recording an event sample associated with the profiling event, wherein the event sample is recorded in the log file, and wherein the log file comprises a set of event samples; the computer inserting a set of markers comprising information describing the event sample into the log file, wherein the set of markers are associated with the event sample; and the computer resuming the execution of the software program.