perf record: Add ID and to recorded event data when recording multiple events