mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 06:16:30 +03:00
base: Remove use of mallinfo for Musl
This commit is contained in:
parent
d2bb3bea49
commit
89aa824a5a
@ -359,6 +359,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);
|
||||||
|
Loading…
Reference in New Issue
Block a user