Home
last modified time | relevance | path

Searched refs:stack_size (Results 1 – 7 of 7) sorted by relevance

/system/core/libbacktrace/
Dbacktrace_offline_test.cpp80 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()
DUnwindPtrace.cpp111 frame->stack_size = 0; in Unwind()
115 prev->stack_size = frame->sp - prev->sp; in Unwind()
DUnwindCurrent.cpp109 frame->stack_size = 0; in UnwindFromContext()
122 prev->stack_size = frame->sp - prev->sp; in UnwindFromContext()
Dbacktrace_test.cpp257 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()
DBacktraceOffline.cpp171 frame->stack_size = 0; in Unwind()
175 prev->stack_size = frame->sp - prev->sp; in Unwind()
/system/core/include/backtrace/
DBacktrace.h59 size_t stack_size; // The size of the stack, zero indicate an unknown stack size. member
/system/core/debuggerd/
Dtombstone.cpp305 if (sp < frame->sp + frame->stack_size) { in dump_stack()
309 size_t words = frame->stack_size / sizeof(word_t); in dump_stack()