Searched refs:ProfileBuffer (Results 1 – 2 of 2) sorted by relevance
| /freebsd/contrib/llvm-project/compiler-rt/lib/profile/ |
| H A D | InstrProfilingFile.c | 422 ManagedMemory *ProfileBuffer) { in mmapProfileForMerging() argument 423 lprofGetFileContentBuffer(ProfileFile, ProfileFileSize, ProfileBuffer); in mmapProfileForMerging() 425 if (ProfileBuffer->Status == MS_INVALID) { in mmapProfileForMerging() 430 if (__llvm_profile_check_compatibility(ProfileBuffer->Addr, in mmapProfileForMerging() 432 (void)lprofReleaseBuffer(ProfileBuffer, ProfileFileSize); in mmapProfileForMerging() 447 ManagedMemory ProfileBuffer; in doProfileMerging() local 459 if (mmapProfileForMerging(ProfileFile, ProfileFileSize, &ProfileBuffer) == -1) in doProfileMerging() 463 if (__llvm_profile_merge_from_buffer(ProfileBuffer.Addr, ProfileFileSize)) { in doProfileMerging() 465 (void)lprofReleaseBuffer(&ProfileBuffer, ProfileFileSize); in doProfileMerging() 474 (void)lprofReleaseBuffer(&ProfileBuffer, ProfileFileSize); in doProfileMerging() [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/xray/ |
| H A D | xray_profile_collector.cpp | 35 struct ProfileBuffer { struct 85 using ProfileBufferArray = Array<ProfileBuffer>; 194 static void serializeRecords(ProfileBuffer *Buffer, const BlockHeader &Header, in serializeRecords()
|