Lines Matching refs:num_frames
149 size_t PointerData::AddBacktrace(size_t num_frames, size_t size_bytes) { in AddBacktrace() argument
157 if (!Unwind(&frames, &frames_info, num_frames)) { in AddBacktrace()
161 frames.resize(num_frames); in AddBacktrace()
162 num_frames = backtrace_get(frames.data(), frames.size()); in AddBacktrace()
163 if (num_frames == 0) { in AddBacktrace()
166 frames.resize(num_frames); in AddBacktrace()
169 FrameKeyType key{.num_frames = frames.size(), .frames = frames.data()}; in AddBacktrace()
203 FrameKeyType key{.num_frames = frame_info->frames.size(), .frames = frame_info->frames.data()}; in RemoveBacktrace()
355 size_t num_frames = g_debug->config().free_track_backtrace_num_frames(); in AddFreed() local
356 if (num_frames) { in AddFreed()
357 hash_index = AddBacktrace(num_frames, size_bytes); in AddFreed()