TraceCompiler event router implementation