Searched refs:smaps (Results 1 – 1 of 1) sorted by relevance
149 char *smaps = nullptr; in GetMemoryProfile() local152 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()