/base/hiviewdfx/faultloggerd/interfaces/innerkits/async_stack/ |
D | async_stack.cpp | 74 uint64_t stackId = 0; in CollectAsyncStack() local 75 auto stackIdPtr = reinterpret_cast<OHOS::HiviewDFX::StackId*>(&stackId); in CollectAsyncStack() 77 return stackId; in CollectAsyncStack() 83 extern "C" void SetStackId(uint64_t stackId) in SetStackId() argument 88 pthread_setspecific(g_stackidKey, reinterpret_cast<void *>(stackId)); in SetStackId()
|
D | unique_stack_table.cpp | 150 uint64_t UniqueStackTable::PutPcsInTable(StackId *stackId, uintptr_t* pcs, size_t nr) in PutPcsInTable() argument 171 stackId->section.id = prev; in PutPcsInTable() 172 stackId->section.nr = static_cast<uint64_t>(nr); in PutPcsInTable() 193 Node* UniqueStackTable::GetFrame(uint64_t stackId) in GetFrame() argument 196 if (stackId >= totalNodes_) { in GetFrame() 198 LOGW("Failed to find frame by index: %" PRIu64 "", stackId); in GetFrame() 202 return (Node *)&tableHead[stackId]; in GetFrame() 205 bool UniqueStackTable::GetPcsByStackId(StackId stackId, std::vector<uintptr_t>& pcs) in GetPcsByStackId() argument 212 uint64_t nr = stackId.section.nr; in GetPcsByStackId() 213 uint64_t tailIdx = stackId.section.id; in GetPcsByStackId()
|
/base/hiviewdfx/faultloggerd/tools/process_dump/ |
D | dfx_unwind_async_thread.h | 31 …syncThread(std::shared_ptr<DfxThread> thread, std::shared_ptr<Unwinder> unwinder, uint64_t stackId) in DfxUnwindAsyncThread() argument 32 : thread_(thread), unwinder_(unwinder), stackId_(stackId) {} in DfxUnwindAsyncThread()
|
D | dfx_unwind_remote.cpp | 111 … unwindAsyncThread = std::make_shared<DfxUnwindAsyncThread>(unwThread, unwinder, request->stackId); in UnwindKeyThread()
|
/base/hiviewdfx/hicollie/frameworks/native/ |
D | thread_sampler_utils.cpp | 59 void PutTimeInMap(std::map<uint64_t, std::vector<uint64_t>>& stackIdTimeMap, uint64_t stackId, uint… in PutTimeInMap() argument 61 auto it = stackIdTimeMap.find(stackId); in PutTimeInMap() 65 stackIdTimeMap[stackId] = timestamps; in PutTimeInMap()
|
D | sample_stack_printer.cpp | 120 uint64_t stackId = it->first; in GetTreeStack() local 121 …sortedStackId.emplace_back(std::make_pair<uint64_t, uint64_t>(std::move(stackId), it->second.size(… in GetTreeStack() 128 OHOS::HiviewDFX::StackId stackId; in GetTreeStack() local 129 stackId.value = it->first; in GetTreeStack() 130 if (uniqueStackTable->GetPcsByStackId(stackId, pcs)) { in GetTreeStack()
|
D | thread_sampler_utils.h | 29 void PutTimeInMap(std::map<uint64_t, std::vector<uint64_t>>& stackIdTimeMap, uint64_t stackId, uint…
|
D | thread_sampler.cpp | 445 uint64_t stackId = 0; in ProcessStackBuffer() local 446 auto stackIdPtr = reinterpret_cast<OHOS::HiviewDFX::StackId*>(&stackId); in ProcessStackBuffer() 448 PutTimeInMap(stackIdTimeMap_, stackId, context->snapshotTime); in ProcessStackBuffer()
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/async_stack/include/ |
D | unique_stack_table.h | 108 uint64_t PutPcsInTable(StackId *stackId, uintptr_t *pcs, size_t nr); 109 bool GetPcsByStackId(const StackId stackId, std::vector<uintptr_t>& pcs); 136 Node* GetFrame(uint64_t stackId);
|
D | async_stack.h | 28 void SetStackId(uint64_t stackId);
|
/base/hiviewdfx/faultloggerd/interfaces/common/ |
D | dfx_dump_request.h | 129 uint64_t stackId; member
|
/base/hiviewdfx/faultloggerd/tools/crasher_cpp/ |
D | dfx_crasher.cpp | 514 uint64_t stackId = CollectAsyncStack(); in AsyncStacktrace() local 515 printf("Current stackId:%p.\n", (void*)stackId); in AsyncStacktrace() 517 pthread_create(&thread, NULL, CrashInSubThread, (void*)&stackId); in AsyncStacktrace()
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/signal_handler/ |
D | dfx_signal_handler.c | 275 g_request.stackId = g_GetStackIdFunc(); in FillDumpRequest() 276 DFXLOG_INFO("g_GetStackIdFunc %p.", (void*)g_request.stackId); in FillDumpRequest()
|