Home
last modified time | relevance | path

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

/external/libchrome/base/trace_event/
Dprocess_memory_maps_dump_provider.cc101 uint32_t ReadLinuxProcSmapsFile(FILE* smaps_file, ProcessMemoryMaps* pmm) { in ReadLinuxProcSmapsFile() argument
102 if (!smaps_file) in ReadLinuxProcSmapsFile()
105 fseek(smaps_file, 0, SEEK_SET); in ReadLinuxProcSmapsFile()
115 if (fgets(line, kMaxLineSize, smaps_file) == nullptr) in ReadLinuxProcSmapsFile()
164 ScopedFILE smaps_file(fopen("/proc/self/smaps", "r")); in OnMemoryDump() local
165 res = ReadLinuxProcSmapsFile(smaps_file.get(), pmd->process_mmaps()); in OnMemoryDump()