Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_procmaps_common.cpp149 char *smaps = nullptr; in GetMemoryProfile() local
152 if (!ReadFileToBuffer("/proc/self/smaps", &smaps, &smaps_cap, &smaps_len)) in GetMemoryProfile()
156 const char *pos = smaps; in GetMemoryProfile()
157 while (pos < smaps + smaps_len) { in GetMemoryProfile()
169 UnmapOrDie(smaps, smaps_cap); in GetMemoryProfile()