Fix initial state

Add an analysis phase that listen for the first scheduling event on each CPU.
When one scheduling on each CPU has been found, then restart the analysis from
start. Events that occurs before the first scheduling event are thus attributed
to the right thread.