/developtools/profiler/device/plugins/native_hook/src/ |
H A D | hook_client.cpp | 333 static int inline __attribute__((always_inline)) FpUnwind(int maxDepth, uint64_t* ip, int stackSize, in FpUnwind() argument 349 if (((nextFp - startfp) * sizeof(void*)) > static_cast<unsigned long>(stackSize)) { in FpUnwind() 428 int stackSize = 0; in hook_malloc() local 437 stackSize = static_cast<int>(coroutineStackSize); in hook_malloc() 443 stackSize = stackendptr - stackptr; in hook_malloc() 445 fpStackDepth = FpUnwind(g_ClientConfig.maxStackDepth, rawdata.ip, stackSize, stackptr, stackendptr); in hook_malloc() 446 stackSize = 0; in hook_malloc() 454 stackSize = stackendptr - stackptr; in hook_malloc() 456 stackSize = 0; in hook_malloc() 473 holder->SendStackWithPayload(&rawdata, realSize, stackptr, stackSize); in hook_malloc() 533 int stackSize = 0; hook_aligned_alloc() local 638 int stackSize = 0; hook_calloc() local 748 int stackSize = 0; hook_realloc() local 889 int stackSize = 0; hook_free() local 1008 int stackSize = 0; hook_mmap() local 1108 int stackSize = 0; hook_munmap() local 1230 int stackSize = 0; hook_memtrace() local 1434 ohos_malloc_hook_send_hook_misc_data(uint64_t id, const char* stackPtr, size_t stackSize, uint32_t type) ohos_malloc_hook_send_hook_misc_data() argument [all...] |
H A D | runtime_stack_range.cpp | 54 size_t stackSize; in GetThreadRuntimeStackRange() local 55 if (pthread_attr_getstack(&attr, reinterpret_cast<void**>(const_cast<char**>(start)), &stackSize) == 0) { in GetThreadRuntimeStackRange() 56 *end = *start + stackSize; in GetThreadRuntimeStackRange()
|
/developtools/profiler/device/plugins/native_daemon/include/ |
H A D | stack_data_repeater.h | 43 uint32_t stackSize = 0; member 54 stackSize = 0; in Reset()
|
H A D | call_stack.h | 45 const u8 *stack, u64 stackSize, std::vector<CallFrame> &,
|
/developtools/hiperf/src/ |
H A D | perf_events.cpp | 911 void PerfEvents::SetDwarfSampleStackSize(uint32_t stackSize) in SetDwarfSampleStackSize() argument 913 HLOGD("request stack size is %u", stackSize); in SetDwarfSampleStackSize() 914 dwarfSampleStackSize_ = stackSize; in SetDwarfSampleStackSize() 1509 uint64_t stackSize = 0; in CutStackAndMove() local 1510 GetRecordFieldFromMmap(mmap, &stackSize, mmap.mmapPage->data_tail + stackSizePos, in CutStackAndMove() 1511 sizeof(stackSize)); in CutStackAndMove() 1512 if (stackSize == 0) { in CutStackAndMove() 1515 size_t dynSizePos = stackSizePos + sizeof(uint64_t) + stackSize; in CutStackAndMove() 1519 (~(alignSize >= 1 ? alignSize - 1 : 0)), stackSize); in CutStackAndMove() 1520 if (newStackSize >= stackSize) { in CutStackAndMove() [all...] |
H A D | callstack.cpp | 469 const u8 *stack, u64 stackSize, std::vector<DfxFrame> &callStack, in UnwindCallStack() 475 stackSize_ = stackSize; in UnwindCallStack() 468 UnwindCallStack(const VirtualThread &thread, bool abi32, u64 *regs, u64 regsNum, const u8 *stack, u64 stackSize, std::vector<DfxFrame> &callStack, size_t maxStackLevel) UnwindCallStack() argument
|
/developtools/hiperf/include/ |
H A D | callstack.h | 59 const u8 *stack, u64 stackSize, std::vector<DfxFrame> &,
|
H A D | perf_events.h | 390 void SetDwarfSampleStackSize(uint32_t stackSize);
|
/developtools/profiler/device/plugins/native_daemon/src/ |
H A D | stack_preprocess.cpp | 440 if (rawData->stackSize == 0) { in TakeResults() 463 if ((hookConfig_.fp_unwind()) || rawData->stackSize > 0) { in TakeResults() 466 bool ret = runtime_instance->UnwindStack(u64regs_, rawData->stackData, rawData->stackSize, in TakeResults() 474 if ((hookConfig_.fp_unwind()) || rawData->stackSize > 0) { in TakeResults() 658 if ((!hookConfig_.fp_unwind()) && rawStack->stackSize == 0) { in GetCallStackId()
|
H A D | hook_manager.cpp | 517 rawStack->stackSize = size - rawRealSize; in ReadShareMemory() 518 if (rawStack->stackSize > 0) { in ReadShareMemory()
|
H A D | call_stack.cpp | 441 const u8 *stack, u64 stackSize, std::vector<CallFrame> &callStack,
in UnwindCallStack() 447 stackSize_ = stackSize;
in UnwindCallStack() 440 UnwindCallStack(const VirtualThread &thread, u64 *regs, u64 regsNum, const u8 *stack, u64 stackSize, std::vector<CallFrame> &callStack, size_t maxStackLevel, int maxjsDepth, bool jsReport) UnwindCallStack() argument
|