Home
last modified time | relevance | path

Searched refs:debug (Results 1 – 18 of 18) sorted by relevance

/bionic/libc/malloc_debug/
DFreeTrackData.cpp45 void FreeTrackData::LogFreeError(DebugData& debug, const Header* header, in LogFreeError() argument
51 uint8_t fill_free_value = debug.config().fill_free_value; in LogFreeError()
66 void FreeTrackData::VerifyAndFree(DebugData& debug, const Header* header, in VerifyAndFree() argument
77 bytes = (bytes < debug.config().fill_on_free_bytes) ? bytes : debug.config().fill_on_free_bytes; in VerifyAndFree()
81 LogFreeError(debug, header, reinterpret_cast<const uint8_t*>(pointer)); in VerifyAndFree()
97 void FreeTrackData::Add(DebugData& debug, const Header* header) { in Add() argument
102 if (list_.size() == debug.config().free_track_allocations) { in Add()
104 VerifyAndFree(debug, old_header, debug.GetPointer(old_header)); in Add()
121 void FreeTrackData::VerifyAll(DebugData& debug) { in VerifyAll() argument
126 VerifyAndFree(debug, header, debug.GetPointer(header)); in VerifyAll()
DGuardData.cpp83 bool FrontGuardData::Valid(DebugData& debug, const Header* header) { in Valid() argument
84 return GuardData::Valid(debug.GetFrontGuard(header)); in Valid()
87 void FrontGuardData::LogFailure(DebugData& debug, const Header* header) { in LogFailure() argument
88 GuardData::LogFailure(header, debug.GetPointer(header), debug.GetFrontGuard(header)); in LogFailure()
95 bool RearGuardData::Valid(DebugData& debug, const Header* header) { in Valid() argument
96 return GuardData::Valid(debug.GetRearGuard(header)); in Valid()
99 void RearGuardData::LogFailure(DebugData& debug, const Header* header) { in LogFailure() argument
100 GuardData::LogFailure(header, debug.GetPointer(header), debug.GetRearGuard(header)); in LogFailure()
DFreeTrackData.h52 void Add(DebugData& debug, const Header* header);
54 void VerifyAll(DebugData& debug);
59 void LogFreeError(DebugData& debug, const Header* header, const uint8_t* pointer);
60 void VerifyAndFree(DebugData& debug, const Header* header, const void* pointer);
DGuardData.h66 bool Valid(DebugData& debug, const Header* header);
68 void LogFailure(DebugData& debug, const Header* header);
85 bool Valid(DebugData& debug, const Header* header);
87 void LogFailure(DebugData& debug, const Header* header);
DTrackData.cpp92 void TrackData::DisplayLeaks(DebugData& debug) { in DisplayLeaks() argument
101 header->real_size(), debug.GetPointer(header), ++track_count, list.size()); in DisplayLeaks()
102 if (debug.config().options & BACKTRACE) { in DisplayLeaks()
103 BacktraceHeader* back_header = debug.GetAllocBacktrace(header); in DisplayLeaks()
113 void TrackData::GetInfo(DebugData& debug, uint8_t** info, size_t* overall_size, in GetInfo() argument
121 *backtrace_size = debug.config().backtrace_frames; in GetInfo()
134 BacktraceHeader* back_header = debug.GetAllocBacktrace(header); in GetInfo()
DTrackData.h58 void GetInfo(DebugData& debug, uint8_t** info, size_t* overall_size,
61 void DisplayLeaks(DebugData& debug);
DREADME_api.md3 Malloc debug can be used to get information on all of the live allocations
23 by the malloc debug library itself.
53 The calls from within the malloc debug library are automatically removed.
DREADME.md4 Malloc debug is a method of debugging native memory problems. It can help
7 Currently, malloc debug requires root to enable. When it is enabled, it works
32 Malloc debug is controlled by individual options. Each option can be enabled
287 adb shell setprop libc.debug.malloc.options backtrace
294 adb shell setprop libc.debug.malloc.options backtrace
295 adb shell setprop libc.debug.malloc.program ls
303 adb shell setprop libc.debug.malloc.program app_process
304 adb shell setprop libc.debug.malloc.options backtrace
312 adb shell setprop libc.debug.malloc.options "\"backtrace guards\""
316 Enable malloc debug when multiple processes have the same name. This method
[all …]
Dmalloc_debug.cpp199 DebugData* debug = new DebugData(); in debug_initialize() local
200 if (!debug->Initialize()) { in debug_initialize()
201 delete debug; in debug_initialize()
205 g_debug = debug; in debug_initialize()
/bionic/tools/bionicbb/
Dbionicbb.py50 logging.debug('%s #%s %s: %s', name, number, status, full_url)
76 logging.debug('POST %s: %s', url, request_data)
83 logging.debug('POST %s: %s', url, request_data)
116 logging.debug('POST %s: %s', url, request_data)
134 app.run(host='0.0.0.0', debug=True)
/bionic/tools/relocation_packer/
DAndroid.mk27 src/debug.cc \
/bionic/libc/upstream-netbsd/lib/libc/isc/
Dev_timers.c237 if (ctx->debug > 7) { in evSetTimer()
269 if (ctx->debug > 7) { in evClearTimer()
354 if (ctx->debug > 7) { in evResetTimer()
Deventlib_p.h219 int debug; member
/bionic/libc/kernel/tools/
Dcpp.py1368 logging.debug("### skip unterminated static '%s'",
1373 logging.debug("### keep var/func '%s': %s", ident,
1377 logging.debug("### skip var/func '%s': %s", ident,
1679 logging.debug("appending lines %d to %d", blocks[i].lineno,
1699 logging.debug("remove 'if 0' .. 'endif' (lines %d to %d)",
1704 logging.debug("convert 'if 0' .. 'else' into 'if 1' (lines %d "
1711 logging.debug("convert 'if 0' .. 'elif' into 'if'")
1720 logging.debug("unterminated 'if 1'")
1726 logging.debug("convert 'if 1' .. 'endif' (lines %d to %d)",
1732 logging.debug("convert 'if 1' .. 'else' (lines %d to %d)",
[all …]
Dutils.py44 logging.debug("write '%s'" % msg)
/bionic/libc/tools/
Dgensyscalls.py501 logging.debug(t)
505 logging.debug("parse_file: %s" % file_path)
/bionic/libc/kernel/uapi/linux/
Dpkt_sched.h316 __u32 debug; member
Dkvm.h236 } debug; member