// Syscall tests split stack between Entersyscall and Exitsyscall under race detector. func BenchmarkSyscall(b *testing.B) { … } func BenchmarkSyscallWork(b *testing.B) { … } func BenchmarkSyscallExcess(b *testing.B) { … } func BenchmarkSyscallExcessWork(b *testing.B) { … } func benchmarkSyscall(b *testing.B, work, excess int) { … }