Home
last modified time | relevance | path

Searched refs:ProfileBuffer (Results 1 – 2 of 2) sorted by relevance

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingFile.c223 char **ProfileBuffer) { in mmapProfileForMerging() argument
224 *ProfileBuffer = mmap(NULL, ProfileFileSize, PROT_READ, MAP_SHARED | MAP_FILE, in mmapProfileForMerging()
226 if (*ProfileBuffer == MAP_FAILED) { in mmapProfileForMerging()
232 if (__llvm_profile_check_compatibility(*ProfileBuffer, ProfileFileSize)) { in mmapProfileForMerging()
233 (void)munmap(*ProfileBuffer, ProfileFileSize); in mmapProfileForMerging()
248 char *ProfileBuffer; in doProfileMerging() local
264 if (__llvm_profile_merge_from_buffer(ProfileBuffer, ProfileFileSize)) { in doProfileMerging()
266 (void)munmap(ProfileBuffer, ProfileFileSize); in doProfileMerging()
275 (void)munmap(ProfileBuffer, ProfileFileSize); in doProfileMerging()
543 char *ProfileBuffer; in initializeProfileForContinuousMode() local
[all …]
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_profile_collector.cpp35 struct ProfileBuffer { struct
88 using ProfileBufferArray = Array<ProfileBuffer>;
197 static void serializeRecords(ProfileBuffer *Buffer, const BlockHeader &Header, in serializeRecords()