perf parse-events: Check if the software events array slots are populated