trace_event: Remove use of mallinfo under Musl

This commit is contained in:
klzgrad 2019-11-30 22:36:22 +08:00
parent b204c37730
commit 12adb1c280

View File

@ -132,6 +132,7 @@ bool MallocDumpProvider::OnMemoryDump(const MemoryDumpArgs& args,
} }
#elif defined(OS_FUCHSIA) #elif defined(OS_FUCHSIA)
// TODO(fuchsia): Port, see https://crbug.com/706592. // TODO(fuchsia): Port, see https://crbug.com/706592.
#elif defined(__UCLIBC__)
#else #else
struct mallinfo info = mallinfo(); struct mallinfo info = mallinfo();
DCHECK_GE(info.arena + info.hblkhd, info.uordblks); DCHECK_GE(info.arena + info.hblkhd, info.uordblks);