Lines Matching full:blockprofile
24 blockProfile
133 // A blockRecord is the bucket data for a bucket of type blockProfile,
169 case blockProfile, mutexProfile:
195 // bp returns the blockRecord associated with the blockProfile bucket b.
197 if b.typ != blockProfile && b.typ != mutexProfile {
402 saveblockevent(cycles, skip+1, blockProfile)
627 // BlockProfile returns n, the number of records in the current blocking profile.
628 // If len(p) >= n, BlockProfile copies the profile into p and returns n, true.
629 // If len(p) < n, BlockProfile does not change p and returns n, false.
632 // the testing package's -test.blockprofile flag instead
633 // of calling BlockProfile directly.
634 func BlockProfile(p []BlockProfileRecord) (n int, ok bool) {
647 racewriterangepc(unsafe.Pointer(&r.Stack0[0]), unsafe.Sizeof(r.Stack0), getcallerpc(), funcPC(BlockProfile))