fix check-config.sh to check for CGROUP_PERF

ping @unclejack @LK4D4