runtime: fix block profile for sync semaphores

Part of cl/128670043 that got lost during submit.

TBR=rsc
R=golang-codereviews
CC=golang-codereviews
https://golang.org/cl/129570043
This commit is contained in:
Dmitriy Vyukov 2014-08-25 12:09:42 +04:00
parent 8ca564fb3f
commit 7b3677bf3c
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ func syncsemacquire(s *syncSema) {
s.tail = w
goparkunlock(&s.lock, "semacquire")
if t0 != 0 {
goblockevent(int64(w.releasetime)-t0, 2)
goblockevent(int64(w.releasetime)-t0, 3)
}
releaseSudog(w)
}