Searched refs:stack_size (Results 1 – 7 of 7) sorted by relevance
/system/core/libbacktrace/ |
D | backtrace_offline_test.cpp | 80 const size_t stack_size = 1024 * 1024; in OfflineBacktraceFunctionCall() local 81 void* stack = mmap(NULL, stack_size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in OfflineBacktraceFunctionCall() 86 ASSERT_EQ(0, pthread_attr_setstack(&attr, reinterpret_cast<void*>(stack), stack_size)); in OfflineBacktraceFunctionCall() 95 reinterpret_cast<uint8_t*>(stack) + stack_size); in OfflineBacktraceFunctionCall() 98 ASSERT_EQ(0, munmap(stack, stack_size)); in OfflineBacktraceFunctionCall() 106 stack_info.end = stack_addr + stack_size; in OfflineBacktraceFunctionCall()
|
D | UnwindPtrace.cpp | 111 frame->stack_size = 0; in Unwind() 115 prev->stack_size = frame->sp - prev->sp; in Unwind()
|
D | UnwindCurrent.cpp | 109 frame->stack_size = 0; in UnwindFromContext() 122 prev->stack_size = frame->sp - prev->sp; in UnwindFromContext()
|
D | backtrace_test.cpp | 257 EXPECT_EQ(bt_ign2->GetFrame(i)->stack_size, bt_ign1->GetFrame(i+1)->stack_size); in VerifyIgnoreFrames() 261 EXPECT_EQ(bt_ign2->GetFrame(i)->stack_size, bt_all->GetFrame(i+2)->stack_size); in VerifyIgnoreFrames() 785 frame.stack_size = 0; in TEST()
|
D | BacktraceOffline.cpp | 171 frame->stack_size = 0; in Unwind() 175 prev->stack_size = frame->sp - prev->sp; in Unwind()
|
/system/core/include/backtrace/ |
D | Backtrace.h | 59 size_t stack_size; // The size of the stack, zero indicate an unknown stack size. member
|
/system/core/debuggerd/ |
D | tombstone.cpp | 305 if (sp < frame->sp + frame->stack_size) { in dump_stack() 309 size_t words = frame->stack_size / sizeof(word_t); in dump_stack()
|