[PATCH] Add End of Event record