perf scripting engines: Iterate on tep event arrays directly