Remove gMallocLeakZygoteChild.
Remove this global variable and change the setting of it to non-zero
to a call to android_mallopt.
In addition, change the initialize function to use pass a bool* instead of
int*.
Bug: 130028357
Test: Ran malloc_debug/malloc_hooks/perfetto tests.
Change-Id: I20d382bdeaaf38aac6b9dcabea5b3dfab3c945f6
Merged-In: I20d382bdeaaf38aac6b9dcabea5b3dfab3c945f6
(cherry picked from commit 5225b342f0810c027df3d09fbbcef4d324b19b93)
diff --git a/libc/symbol_ordering b/libc/symbol_ordering
index 10245db..c04692b 100644
--- a/libc/symbol_ordering
+++ b/libc/symbol_ordering
@@ -27,7 +27,7 @@
restartloop
_ZL24gHeapprofdInitInProgress
_ZL27gHeapprofdInitHookInstalled
-_ZL29gMallocZygoteChildProfileable
+_ZL23gZygoteChildProfileable
_ZZ17__find_icu_symbolPKcE9found_icu
ru_a
ru_b
@@ -55,7 +55,6 @@
g_atexit_lock
gGlobalsMutateLock
global_hashtable
-gMallocLeakZygoteChild
gmtptr
handlers
je_background_thread_info