Home
last modified time | relevance | path

Searched refs:g_debug (Results 1 – 5 of 5) sorted by relevance

/bionic/libc/malloc_debug/
Dmalloc_debug.cpp67 DebugData* g_debug; variable
143 if (g_debug->config().options() & RECORD_ALLOCS) { in TimerCall()
273 if (g_debug != nullptr) { in InitAtfork()
274 g_debug->PrepareFork(); in InitAtfork()
278 if (g_debug != nullptr) { in InitAtfork()
279 g_debug->PostForkParent(); in InitAtfork()
283 if (g_debug != nullptr) { in InitAtfork()
284 g_debug->PostForkChild(); in InitAtfork()
291 if (g_debug->config().options() & BACKTRACE_FULL) { in BacktraceAndLog()
316 if (g_debug->config().options() & FREE_TRACK) { in LogError()
[all …]
DPointerData.cpp83 g_debug->pointer->ToggleBacktraceEnabled(); in ToggleBacktraceEnable()
87 g_debug->pointer->EnableDumping(); in EnableDump()
140 g_debug->config().options() & BACKTRACE_SPECIFIC_SIZES; in ShouldBacktraceAllocSize()
144 static size_t min_size_bytes = g_debug->config().backtrace_min_size_bytes(); in ShouldBacktraceAllocSize()
145 static size_t max_size_bytes = g_debug->config().backtrace_max_size_bytes(); in ShouldBacktraceAllocSize()
156 if (g_debug->config().options() & BACKTRACE_FULL) { in AddBacktrace()
179 if (g_debug->config().options() & BACKTRACE_FULL) { in AddBacktrace()
206 if (g_debug->config().options() & BACKTRACE_FULL) { in RemoveBacktrace()
215 hash_index = AddBacktrace(g_debug->config().backtrace_frames(), pointer_size); in Add()
274 if (g_debug->config().options() & BACKTRACE_FULL) { in LogBacktrace()
[all …]
Ddebug_disable.cpp38 if (g_debug == nullptr || pthread_getspecific(g_disable_key) != nullptr) { in DebugCallsDisabled()
DDebugData.h100 extern DebugData* g_debug;
DGuardData.cpp67 if (g_debug->config().options() & ABORT_ON_ERROR) { in LogFailure()