From e5433d137a5630e0ffdf69080a0c2bdd040c1891 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 for 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 6e64aedb0f..ecee087f1d 100644 --- a/src/base/trace_event/malloc_dump_provider.cc +++ b/src/base/trace_event/malloc_dump_provider.cc @@ -358,6 +358,7 @@ bool MallocDumpProvider::OnMemoryDump(const MemoryDumpArgs& args, &allocated_objects_count); #elif BUILDFLAG(IS_FUCHSIA) // TODO(fuchsia): Port, see https://crbug.com/706592. +#elif defined(__MUSL__) #else ReportMallinfoStats(/*pmd=*/nullptr, &total_virtual_size, &resident_size, &allocated_objects_size, &allocated_objects_count);