Lines Matching refs:frames
73 uintptr_t* frames; member
77 stack_crawl_state_t(uintptr_t* frames, size_t frame_count) in stack_crawl_state_t()
78 : frames(frames), frame_count(frame_count) {} in stack_crawl_state_t()
123 state->frames[state->cur_frame++] = ip; in trace_function()
127 size_t backtrace_get(uintptr_t* frames, size_t frame_count) { in backtrace_get() argument
128 stack_crawl_state_t state(frames, frame_count); in backtrace_get()
133 std::string backtrace_string(const uintptr_t* frames, size_t frame_count) { in backtrace_string() argument
141 if (dladdr(reinterpret_cast<void*>(frames[frame_num]), &info) != 0) { in backtrace_string()
149 const MapEntry* entry = g_map_data.find(frames[frame_num], &rel_pc); in backtrace_string()
175 frames[frame_num] - offset); in backtrace_string()
187 void backtrace_log(const uintptr_t* frames, size_t frame_count) { in backtrace_log() argument
188 error_log_string(backtrace_string(frames, frame_count).c_str()); in backtrace_log()