trace: add "-trace events" argument to control initial state