Searched refs:rawStack (Results 1 – 3 of 3) sorted by relevance
| /developtools/profiler/device/plugins/native_daemon/src/ |
| D | stack_preprocess.cpp | 348 inline uint32_t StackPreprocess::GetCallStackId(const RawStackPtr& rawStack, in GetCallStackId() argument 355 if ((rawStack->stackConext->type == FREE_MSG) && !hookConfig_.free_stack_report()) { in GetCallStackId() 357 } else if ((rawStack->stackConext->type == MUNMAP_MSG) && !hookConfig_.munmap_stack_report()) { in GetCallStackId() 377 void StackPreprocess::SetEventFrame(const RawStackPtr& rawStack, in SetEventFrame() argument 384 event->set_pid(rawStack->stackConext->pid); in SetEventFrame() 385 event->set_tid(rawStack->stackConext->tid); in SetEventFrame() 386 event->set_addr((uint64_t)rawStack->stackConext->addr); in SetEventFrame() 405 void StackPreprocess::SetAllocStatisticsFrame(const RawStackPtr& rawStack, in SetAllocStatisticsFrame() argument 421 SetAllocStatisticsData(rawStack, itStack->second, true); in SetAllocStatisticsFrame() 424 SetAllocStatisticsData(rawStack, stackId); in SetAllocStatisticsFrame() [all …]
|
| D | hook_manager.cpp | 277 auto rawStack = std::make_shared<StackDataRepeater::RawStack>(); in ReadShareMemory() local 281 rawStack->baseStackData = std::make_unique<uint8_t[]>(size); in ReadShareMemory() 282 CHECK_TRUE(memcpy_s(rawStack->baseStackData.get(), size, data, size) == EOK, false, in ReadShareMemory() 285 … rawStack->stackConext = reinterpret_cast<BaseStackRawData*>(rawStack->baseStackData.get()); in ReadShareMemory() 286 rawStack->data = rawStack->baseStackData.get() + sizeof(BaseStackRawData); in ReadShareMemory() 287 rawStack->reportFlag = true; in ReadShareMemory() 288 … if (rawStack->stackConext->type == MEMORY_TAG || rawStack->stackConext->type == THREAD_NAME_MSG || in ReadShareMemory() 289 … rawStack->stackConext->type == MMAP_FILE_TYPE || rawStack->stackConext->type == PR_SET_VMA_MSG) { in ReadShareMemory() 292 rawStack->reduceStackFlag = false; in ReadShareMemory() 294 rawStack->fpDepth = (size - sizeof(BaseStackRawData)) / sizeof(uint64_t); in ReadShareMemory() [all …]
|
| /developtools/profiler/device/plugins/native_daemon/include/ |
| D | stack_preprocess.h | 97 uint32_t GetCallStackId(const RawStackPtr& rawStack, std::vector<CallFrame>& callFrames, 100 void SetEventFrame(const RawStackPtr& rawStack, std::vector<CallFrame>& callFrames, 102 void SetAllocStatisticsFrame(const RawStackPtr& rawStack, std::vector<CallFrame>& callFrames, 105 void SetAllocStatisticsData(const RawStackPtr& rawStack, size_t stackId, bool isExists = false);
|