From c9fea9f42a089c91d41de00e7c2ff9b444f0eea1 Mon Sep 17 00:00:00 2001 From: klzgrad Date: Sat, 30 Nov 2019 22:36:22 +0800 Subject: [PATCH] base: Remove use of mallinfo under Musl --- src/base/trace_event/malloc_dump_provider.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/base/trace_event/malloc_dump_provider.cc b/src/base/trace_event/malloc_dump_provider.cc index 38811b03f9..43001f9ad0 100644 --- a/src/base/trace_event/malloc_dump_provider.cc +++ b/src/base/trace_event/malloc_dump_provider.cc @@ -199,6 +199,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