ocperf: Handle spaces in event groups