perf/core: Fix hardlockup failure caused by perf throttle