Home
last modified time | relevance | path

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

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_procmaps_common.cc156 char *smaps = nullptr; in GetMemoryProfile() local
159 if (!ReadFileToBuffer("/proc/self/smaps", &smaps, &smaps_cap, &smaps_len)) in GetMemoryProfile()
163 const char *pos = smaps; in GetMemoryProfile()
164 while (pos < smaps + smaps_len) { in GetMemoryProfile()
176 UnmapOrDie(smaps, smaps_cap); in GetMemoryProfile()
/external/autotest/client/site_tests/platform_MemoryMonitor/
Dplatform_MemoryMonitor.py237 with open(filename, 'r') as smaps:
239 for line in smaps:
319 smaps = dict((key, sum(values) * 1024) for key, values in
321 return smaps