A Stateful Approach to Generate Synthetic Events from Kernel Traces. (15th August 2012)