/system/core/libutils/include/utils/ |
D | CallStack.h | 94 void operator()(CallStack* stack) { in operator() 95 deleteStack(stack); in operator() 121 static void ALWAYS_INLINE logStack(const char* logtag, CallStack* stack = getCurrent().get(), 123 if (reinterpret_cast<uintptr_t>(logStackInternal) != 0 && stack != nullptr) { 124 logStackInternal(logtag, stack, priority); 139 const CallStack* stack = getCurrent().get()) { 140 if (reinterpret_cast<uintptr_t>(stackToStringInternal) != 0 && stack != nullptr) { 141 return stackToStringInternal(prefix, stack); 156 static void CALLSTACK_WEAK logStackInternal(const char* logtag, const CallStack* stack, 158 static String8 CALLSTACK_WEAK stackToStringInternal(const char* prefix, const CallStack* stack); [all …]
|
/system/core/libutils/ |
D | CallStack.cpp | 84 CallStack::CallStackUPtr stack(new CallStack()); in getCurrentInternal() local 85 stack->update(ignoreDepth + 1); in getCurrentInternal() 86 return stack; in getCurrentInternal() 89 void CallStack::logStackInternal(const char* logtag, const CallStack* stack, in logStackInternal() argument 91 stack->log(logtag, priority); in logStackInternal() 94 String8 CallStack::stackToStringInternal(const char* prefix, const CallStack* stack) { in stackToStringInternal() argument 95 return stack->toString(prefix); in stackToStringInternal() 98 void CallStack::deleteStack(CallStack* stack) { in deleteStack() argument 99 delete stack; in deleteStack()
|
/system/extras/simpleperf/scripts/ |
D | stackcollapse.py | 82 stack = [] 90 stack.append(func) 92 stack.append("%s-%d/%d" % (sample.thread_comm, sample.pid, sample.tid)) 94 stack.append("%s-%d" % (sample.thread_comm, sample.pid)) 96 stack.append(sample.thread_comm) 97 stack.reverse() 98 stacks[";".join(stack)] += sample.period
|
D | gecko_profile_generator.py | 206 def _add_sample(self, comm: str, stack: List[str], time_ms: Milliseconds) -> None: 220 for frame in stack: 327 stack = ['%s (in %s)' % (symbol.symbol_name, symbol.dso_name)] 330 stack.append('%s (in %s)' % (entry.symbol.symbol_name, entry.symbol.dso_name)) 332 stack.reverse() 341 stack=stack,
|
/system/libprocinfo/testdata/ |
D | maps | 351 704defa000-704defb000 ---p 00000000 00:00 0 [anon:thread stack guard] 355 704e455000-704e456000 ---p 00000000 00:00 0 [anon:thread stack guard] 362 704e69d000-704e69e000 ---p 00000000 00:00 0 [anon:thread stack guard] 365 704f79b000-704f79c000 ---p 00000000 00:00 0 [anon:thread stack guard] 367 704f899000-704f89a000 ---p 00000000 00:00 0 [anon:thread stack guard] 420 7051326000-7051327000 ---p 00000000 00:00 0 [anon:thread stack guard] 546 705ddf8000-705ddf9000 ---p 00000000 00:00 0 [anon:thread stack guard] 550 705f5ec000-705f5ed000 ---p 00000000 00:00 0 [anon:thread stack guard] 554 705f7e8000-705f7e9000 ---p 00000000 00:00 0 [anon:thread stack guard] 557 705f8ee000-705f8ef000 ---p 00000000 00:00 0 [anon:thread stack guard] [all …]
|
/system/extras/simpleperf/doc/ |
D | README.md | 28 1) When recording dwarf based call graph, simpleperf unwinds the stack before writing a sample 39 4) It uses the standard Android stack unwinder, so its results are consistent with all other 113 mode, recording stack frame based call graphs doesn't work well. 117 Below is our experiences of dwarf based call graphs and stack frame based call graphs. 122 3. Can only unwind 64K stack for each sample. So usually can't show complete flamegraph. But 124 4. Take more CPU time than stack frame based call graphs. So the sample frequency is suggested 127 stack frame based call graphs: 128 1. Need support of stack frame registers. 130 stack frame registers. So the kernel can't unwind user stack containing both ARM/THUMB code. 132 reserve stack frame registers. [all …]
|
D | debug_dwarf_unwinding.md | 4 simpleperf asks the kernel to add stack and register data to each sample. Then it uses 6 to unwind the call stack. libunwindstack uses dwarf sections (like .debug_frame or .eh_frame) in 7 elf files to know how to unwind the stack. 10 by stack data. But this behavior makes it harder to reproduce unwinding problems. So we added 17 Unwinding a sample can fail for different reasons: not enough stack or register data, unknown 22 `--keep-failed-unwinding-debug-info` keeps stack and register data for failed unwinding samples. It
|
/system/netd/tests/ |
D | netd_test.cpp | 83 static char stack[PAGE_SIZE * 2]; in nsTest() local 87 int tid = clone(newThread, &stack[PAGE_SIZE], flags | CLONE_VFORK, NULL); in nsTest()
|
/system/tools/hidl/ |
D | Type.cpp | 226 std::unordered_set<const Type*>* stack) const { in topologicalOrder() 227 if (stack->find(this) != stack->end()) { in topologicalOrder() 233 stack->insert(this); in topologicalOrder() 236 auto err = nextType->topologicalOrder(reversedOrder, stack); in topologicalOrder() 256 auto err = nextType->topologicalOrder(reversedOrder, stack); in topologicalOrder() 271 CHECK(stack->find(this) != stack->end()); in topologicalOrder() 272 stack->erase(this); in topologicalOrder()
|
D | ConstantExpression.cpp | 634 std::unordered_set<const ConstantExpression*>* stack) const { in checkAcyclic() 635 if (stack->find(this) != stack->end()) { in checkAcyclic() 646 stack->insert(this); in checkAcyclic() 649 auto err = nextCE->checkAcyclic(visited, stack); in checkAcyclic() 658 auto err = nextCE->checkAcyclic(visited, stack); in checkAcyclic() 679 CHECK(stack->find(this) != stack->end()); in checkAcyclic() 680 stack->erase(this); in checkAcyclic()
|
/system/extras/simpleperf/scripts/inferno/ |
D | script.js | 161 let stack = svgOwner.zoomStack; 169 if (stack.length > 1) { 170 let previouslySelected = stack.pop(); 175 if (stack.length == 1) {
|
/system/sepolicy/prebuilts/api/29.0/public/ |
D | network_stack.te | 1 # Network stack service app
|
/system/sepolicy/public/ |
D | network_stack.te | 1 # Network stack service app
|
/system/sepolicy/prebuilts/api/33.0/public/ |
D | network_stack.te | 1 # Network stack service app
|
/system/sepolicy/prebuilts/api/30.0/public/ |
D | network_stack.te | 1 # Network stack service app
|
/system/sepolicy/prebuilts/api/31.0/public/ |
D | network_stack.te | 1 # Network stack service app
|
/system/sepolicy/prebuilts/api/32.0/public/ |
D | network_stack.te | 1 # Network stack service app
|
/system/unwinding/libunwindstack/offline_files/straddle_arm64/ |
D | maps.txt | 2 0000007fe0d64000-0000007fe0d84fff rw-p 00000000 00:00 0 [stack]
|
/system/extras/simpleperf/ |
D | cmd_debug_unwind.cpp | 258 const PerfSampleStackUserType* stack = &sr.stack_user_data; in ProcessRecord() local 261 stack = &last_unwinding_result_->stack_user_data; in ProcessRecord() 264 if (stack->size > 0 || regs->reg_mask > 0) { in ProcessRecord() 265 if (!UnwindRecord(sr, *regs, *stack)) { in ProcessRecord() 302 const PerfSampleStackUserType& stack) { in UnwindRecord() argument 308 if (!unwinder_->UnwindCallChain(*thread, reg_set, stack.data, stack.size, &ips, &sps)) { in UnwindRecord() 578 auto& stack = unwinding_r.stack_user_data; in ReportUnwindingResult() local 579 const char* p = stack.data; in ReportUnwindingResult() 580 const char* end = stack.data + stack.size; in ReportUnwindingResult()
|
/system/core/debuggerd/handler/ |
D | debuggerd_handler.cpp | 613 char* stack = static_cast<char*>(thread_stack_allocation) + PAGE_SIZE; in debuggerd_init() local 614 if (mprotect(stack, PAGE_SIZE * thread_stack_pages, PROT_READ | PROT_WRITE) != 0) { in debuggerd_init() 619 stack = (stack + thread_stack_pages * PAGE_SIZE - 1); in debuggerd_init() 621 stack -= 15; in debuggerd_init() 622 pseudothread_stack = stack; in debuggerd_init()
|
/system/chre/host/msm/daemon/generated/ |
D | chre_slpi_skel.c | 181 uint8_t* stack; member 214 if((_ALIGN_SIZE((uintptr_t)me->stackEnd, al) + size) < (uintptr_t)me->stack + me->nSize) { in _allocator_alloc() 236 static __inline void _allocator_init(_allocator* me, uint8_t* stack, int stackSize) { in _allocator_init() argument 237 me->stack = stack; in _allocator_init() 238 me->stackEnd = stack + stackSize; in _allocator_init()
|
/system/unwinding/libunwindstack/offline_files/straddle_arm/ |
D | maps.txt | 2 f3002000-f3005fff rw-p 00000000 00:00 0 [stack:25941]
|
/system/unwinding/libbacktrace/testdata/arm/ |
D | offline_testdata_for_libandroid_runtime | 4 stack: start: d8fe6948 end: d8fe6958 size: 16 000000000000000000000000e7dcf6f1
|
/system/memory/libmeminfo/testdata1/ |
D | smaps | 3257 70074a909000-70074a90a000 ---p 00000000 00:00 0 [anon:thread stack guard] 3258 Name: [anon:thread stack guard] 3378 70074c78d000-70074c78e000 ---p 00000000 00:00 0 [anon:thread stack guard] 3379 Name: [anon:thread stack guard] 3460 70074d293000-70074d294000 ---p 00000000 00:00 0 [anon:thread stack guard] 3461 Name: [anon:thread stack guard] 3542 70074db99000-70074db9a000 ---p 00000000 00:00 0 [anon:thread stack guard] 3543 Name: [anon:thread stack guard] 3583 70074dc93000-70074dc94000 ---p 00000000 00:00 0 [anon:thread stack guard] 3584 Name: [anon:thread stack guard] [all …]
|
/system/unwinding/libbacktrace/testdata/arm64/ |
D | offline_testdata_for_libskia | 4 stack: start: 7b8c154b80 end: 7b8c154bc0 size: 64 0000000000000000000000000000000000000000000000000…
|