[PATCH v4 14/29] selftests/resctrl: Remove nested calls in perf event handling