parse-events: Rename struct record to struct pevent_record