Searched refs:num_frames (Results 1 – 6 of 6) sorted by relevance
/bionic/libc/bionic/ |
D | android_unsafe_frame_pointer_chase.cpp | 66 size_t num_frames = 0; in android_unsafe_frame_pointer_chase() local 69 if (num_frames < num_entries) { in android_unsafe_frame_pointer_chase() 70 buf[num_frames] = frame->return_addr; in android_unsafe_frame_pointer_chase() 72 ++num_frames; in android_unsafe_frame_pointer_chase() 80 return num_frames; in android_unsafe_frame_pointer_chase()
|
/bionic/libc/malloc_debug/ |
D | PointerData.h | 53 size_t num_frames; member 57 if (num_frames != comp.num_frames) return false; 58 for (size_t i = 0; i < num_frames; i++) { 73 size_t max_frames = (key.num_frames > 5) ? 5 : key.num_frames; 137 static size_t AddBacktrace(size_t num_frames); 165 static std::string GetHashString(uintptr_t* frames, size_t num_frames);
|
D | PointerData.cpp | 137 size_t PointerData::AddBacktrace(size_t num_frames) { in AddBacktrace() argument 141 if (!Unwind(&frames, &frames_info, num_frames)) { in AddBacktrace() 145 frames.resize(num_frames); in AddBacktrace() 146 num_frames = backtrace_get(frames.data(), frames.size()); in AddBacktrace() 147 if (num_frames == 0) { in AddBacktrace() 152 FrameKeyType key{.num_frames = num_frames, .frames = frames.data()}; in AddBacktrace() 157 frames.resize(num_frames); in AddBacktrace() 187 FrameKeyType key{.num_frames = frame_info->frames.size(), .frames = frame_info->frames.data()}; in RemoveBacktrace() 338 size_t num_frames = g_debug->config().free_track_backtrace_num_frames(); in AddFreed() local 339 if (num_frames) { in AddFreed() [all …]
|
D | malloc_debug.h | 55 size_t num_frames; member
|
D | malloc_debug.cpp | 204 size_t num_frames = backtrace_get(frames.data(), frames.size()); in BacktraceAndLog() local 205 if (num_frames == 0) { in BacktraceAndLog() 208 backtrace_log(frames.data(), num_frames); in BacktraceAndLog()
|
/bionic/tests/ |
D | android_unsafe_frame_pointer_chase_test.cpp | 38 static bool CheckFrames(uintptr_t* frames, size_t num_frames) { in CheckFrames() argument 42 if (num_frames < kNumFrames + 2) { in CheckFrames() 43 printf("num_frames (0x%zu) < kNumFrames + 2", num_frames); in CheckFrames()
|