Searched defs:stack (Results 1 - 14 of 14) sorted by relevance

/system/core/libmemunreachable/
H A DThreadCapture.h29 std::pair<uintptr_t, uintptr_t> stack; member in struct:android::ThreadInfo
/system/core/libbacktrace/
H A DBacktraceOffline.h47 BacktraceOffline(pid_t pid, pid_t tid, BacktraceMap* map, const backtrace_stackinfo_t& stack, argument
52 stack_space_.start = stack.start;
53 stack_space_.end = stack.end;
54 stack_space_.data = stack.data;
H A Dbacktrace_offline_test.cpp134 // Create a thread to generate the needed stack and registers information.
136 void* stack = mmap(NULL, stack_size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); local
137 ASSERT_NE(MAP_FAILED, stack);
138 uintptr_t stack_addr = reinterpret_cast<uintptr_t>(stack);
141 ASSERT_EQ(0, pthread_attr_setstack(&attr, reinterpret_cast<void*>(stack), stack_size));
146 // Wait for the offline thread to generate the stack and unw_context information.
148 // Copy the stack information.
149 std::vector<uint8_t> stack_data(reinterpret_cast<uint8_t*>(stack),
150 reinterpret_cast<uint8_t*>(stack) + stack_size);
153 ASSERT_EQ(0, munmap(stack, stack_siz
229 std::vector<uint8_t> stack; member in struct:OfflineTestData
[all...]
H A DBacktraceOffline.cpp239 // Normally, libunwind needs stack information and call frame information to do remote unwinding.
883 const backtrace_stackinfo_t& stack, bool cache_file) {
884 return new BacktraceOffline(pid, tid, map, stack, cache_file);
882 CreateOffline(pid_t pid, pid_t tid, BacktraceMap* map, const backtrace_stackinfo_t& stack, bool cache_file) argument
/system/extras/simpleperf/
H A Ddwarf_unwind.cpp98 const RegSet& regs, const char* stack,
106 << ", and can't do stack unwinding for arch " << GetArchString(arch);
130 stack_info.data = reinterpret_cast<const uint8_t*>(stack);
97 UnwindCallChain(int abi, const ThreadEntry& thread, const RegSet& regs, const char* stack, size_t stack_size, bool strict_arch_check) argument
H A Drecord.h115 const BranchStackItemType* stack; member in struct:PerfSampleBranchStackType
397 // all stack data is valid if dyn_size == 0.
/system/core/debuggerd/handler/
H A Ddebuggerd_handler.cpp514 fatal_errno("failed to allocate debuggerd thread stack");
517 char* stack = static_cast<char*>(thread_stack_allocation) + PAGE_SIZE; local
518 if (mprotect(stack, PAGE_SIZE, PROT_READ | PROT_WRITE) != 0) {
519 fatal_errno("failed to mprotect debuggerd thread stack");
523 stack = (stack + PAGE_SIZE - 1);
525 stack -= 15;
526 pseudothread_stack = stack;
534 // Use the alternate signal stack if available so we can catch stack overflow
[all...]
/system/core/libutils/
H A DThreads.cpp662 status_t Thread::run(const char* name, int32_t priority, size_t stack) argument
687 this, name, priority, stack, &mThread);
690 this, name, priority, stack, &mThread);
H A DRefBase.cpp38 // folder where stack traces are saved when DEBUG_REFS is enabled
187 refs->stack.log(LOG_TAG);
201 refs->stack.log(LOG_TAG);
208 CallStack stack(LOG_TAG);
278 snprintf(name, sizeof(name), DEBUG_REFS_CALLSTACK_PATH "/%p.stack",
297 CallStack stack; member in struct:android::RefBase::weakref_impl::ref_entry
314 ref->stack.update(2);
349 CallStack stack(LOG_TAG);
376 out->append(refs->stack.toString("\t\t"));
389 // Collect stack trace
[all...]
/system/keymaster/
H A Dattestation_record.cpp618 // Copy all enumerated values with the specified tag from stack to auth_list.
619 static bool get_repeated_enums(const stack_st_ASN1_INTEGER* stack, keymaster_tag_t tag, argument
622 for (size_t i = 0; i < sk_ASN1_INTEGER_num(stack); ++i) {
624 keymaster_param_enum(tag, ASN1_INTEGER_get(sk_ASN1_INTEGER_value(stack, i)))))
/system/nfc/halimpl/bcm2079x/gki/ulinux/
H A Dgki_ulinux.c202 ** stack - (input) pointer to the top of the stack
204 ** stacksize - (input) size of the stack allocated for the
215 uint16_t* stack, uint16_t stacksize, void* pCondVar,
227 "GKI_create_task func=0x%x id=%d name=%s stack=0x%x stackSize=%d",
228 task_entry, task_id, taskname, stack, stacksize);
291 gki_cb.os.thread_id[task_id], taskname, stack, stacksize);
579 ** NOTE This function is NOT called by the Widcomm stack and
829 ** NOTE This function is NOT called by the Widcomm stack and
849 ** NOTE The Widcomm upper stack an
214 GKI_create_task(TASKPTR task_entry, uint8_t task_id, int8_t* taskname, uint16_t* stack, uint16_t stacksize, void* pCondVar, void* pMutex) argument
[all...]
/system/nfc/src/gki/ulinux/
H A Dgki_ulinux.c188 ** stack - (input) pointer to the top of the stack
190 ** stacksize - (input) size of the stack allocated for the
201 uint16_t* stack, uint16_t stacksize, void* pCondVar,
213 "GKI_create_task func=0x%x id=%d name=%s stack=0x%x stackSize=%d",
214 task_entry, task_id, taskname, stack, stacksize);
277 gki_cb.os.thread_id[task_id], taskname, stack, stacksize);
545 ** NOTE This function is NOT called by the Widcomm stack and
793 ** NOTE This function is NOT called by the Widcomm stack and
813 ** NOTE The Widcomm upper stack an
200 GKI_create_task(TASKPTR task_entry, uint8_t task_id, int8_t* taskname, uint16_t* stack, uint16_t stacksize, void* pCondVar, void* pMutex) argument
[all...]
/system/chre/host/msm/daemon/generated/
H A Dchre_slpi_skel.c179 uint8_t* stack; member in struct:_allocator
212 if((_ALIGN_SIZE((uintptr_t)me->stackEnd, al) + size) < (uintptr_t)me->stack + me->nSize) {
234 static __inline void _allocator_init(_allocator* me, uint8_t* stack, int stackSize) { argument
235 me->stack = stack;
236 me->stackEnd = stack + stackSize;
H A Dchre_slpi_stub.c179 uint8_t* stack; member in struct:_allocator
212 if((_ALIGN_SIZE((uintptr_t)me->stackEnd, al) + size) < (uintptr_t)me->stack + me->nSize) {
234 static __inline void _allocator_init(_allocator* me, uint8_t* stack, int stackSize) { argument
235 me->stack = stack;
236 me->stackEnd = stack + stackSize;

Completed in 235 milliseconds