base: Remove use of mallinfo under Musl

This commit is contained in:
klzgrad 2019-11-30 22:36:22 +08:00
parent 0d1b81784b
commit 94a3ea1a5c

View File

@ -184,6 +184,7 @@ bool MallocDumpProvider::OnMemoryDump(const MemoryDumpArgs& args,
}
#elif defined(OS_FUCHSIA)
// TODO(fuchsia): Port, see https://crbug.com/706592.
#elif defined(__UCLIBC__)
#else
struct mallinfo info = mallinfo();
// In case of Android's jemalloc |arena| is 0 and the outer pages size is