Home | History | Annotate | Download | only in runtime

Lines Matching full:blockprofile

24 	blockProfile
90 // A blockRecord is the bucket data for a bucket of type blockProfile,
113 case blockProfile, mutexProfile:
139 // bp returns the blockRecord associated with the blockProfile bucket b.
141 if b.typ != blockProfile && b.typ != mutexProfile {
301 saveblockevent(cycles, skip+1, blockProfile, &blockprofilerate)
520 // BlockProfile returns n, the number of records in the current blocking profile.
521 // If len(p) >= n, BlockProfile copies the profile into p and returns n, true.
522 // If len(p) < n, BlockProfile does not change p and returns n, false.
525 // the testing package's -test.blockprofile flag instead
526 // of calling BlockProfile directly.
527 func BlockProfile(p []BlockProfileRecord) (n int, ok bool) {
540 racewriterangepc(unsafe.Pointer(&r.Stack0[0]), unsafe.Sizeof(r.Stack0), getcallerpc(unsafe.Pointer(&p)), funcPC(BlockProfile))