Elfhack-proof perf-to-sps.