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

/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingFile.c218 * \p ProfileBuffer. Returns -1 on failure. On success, the caller is
219 * responsible for unmapping the mmap'd buffer in \p ProfileBuffer. */
221 char **ProfileBuffer) {
222 *ProfileBuffer = mmap(NULL, ProfileFileSize, PROT_READ, MAP_SHARED | MAP_FILE,
224 if (*ProfileBuffer == MAP_FAILED) {
230 if (__llvm_profile_check_compatibility(*ProfileBuffer, ProfileFileSize)) {
231 (void)munmap(*ProfileBuffer, ProfileFileSize);
246 char *ProfileBuffer; local
258 if (mmapProfileForMerging(ProfileFile, ProfileFileSize, &ProfileBuffer) == -1)
262 __llvm_profile_merge_from_buffer(ProfileBuffer, ProfileFileSiz
220 mmapProfileForMerging(FILE *ProfileFile, uint64_t ProfileFileSize, char **ProfileBuffer) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_profile_collector.cpp35 struct ProfileBuffer { struct in namespace:__xray::profileCollectorService::__anon2600
88 using ProfileBufferArray = Array<ProfileBuffer>;
197 static void serializeRecords(ProfileBuffer *Buffer, const BlockHeader &Header,

Completed in 108 milliseconds