base: Remove use of mallinfo for Musl

This commit is contained in:
klzgrad 2019-11-30 22:36:22 +08:00
parent 7d5123fd8e
commit b43c052baa

View File

@ -341,6 +341,7 @@ bool MallocDumpProvider::OnMemoryDump(const MemoryDumpArgs& args,
&allocated_objects_count); &allocated_objects_count);
#elif BUILDFLAG(IS_FUCHSIA) #elif BUILDFLAG(IS_FUCHSIA)
// TODO(fuchsia): Port, see https://crbug.com/706592. // TODO(fuchsia): Port, see https://crbug.com/706592.
#elif defined(__MUSL__)
#else #else
ReportMallinfoStats(/*pmd=*/nullptr, &total_virtual_size, &resident_size, ReportMallinfoStats(/*pmd=*/nullptr, &total_virtual_size, &resident_size,
&allocated_objects_size, &allocated_objects_count); &allocated_objects_size, &allocated_objects_count);