/developtools/profiler/device/plugins/native_daemon/src/ |
D | virtual_runtime.cpp | 108 void VirtualRuntime::MakeCallFrame(DfxSymbol &symbol, CallFrame &callFrame) in MakeCallFrame() argument 110 callFrame.vaddrInFile_ = symbol.funcVaddr_; in MakeCallFrame() 111 callFrame.symbolName_ = symbol.symbolName_; in MakeCallFrame() 112 callFrame.symbolIndex_ = symbol.index_; in MakeCallFrame() 113 callFrame.filePath_ = symbol.module_.empty() ? symbol.comm_ : symbol.module_; in MakeCallFrame() 114 callFrame.symbolOffset_ = symbol.offset_; in MakeCallFrame() 115 callFrame.callFrameId_ = symbol.symbolId_; in MakeCallFrame() 116 callFrame.symbolNameId_ = symbol.symbolNameId_; in MakeCallFrame() 117 callFrame.filePathId_ = symbol.filePathId_; in MakeCallFrame() 119 callFrame.offset_ = symbol.funcVaddr_; in MakeCallFrame() [all …]
|
D | stack_preprocess.cpp | 1017 inline void StackPreprocess::SetFrameInfo(T& frame, CallFrame& callFrame) in SetFrameInfo() argument 1019 frame.set_ip(callFrame.ip_); in SetFrameInfo() 1022 if (callFrame.isJsFrame_ && callFrame.symbolNameId_ != 0 && callFrame.filePathId_ != 0) { in SetFrameInfo() 1023 frame.set_sp(callFrame.sp_); in SetFrameInfo() 1024 frame.set_offset(callFrame.offset_); in SetFrameInfo() 1025 frame.set_symbol_offset(callFrame.symbolOffset_); in SetFrameInfo() 1026 frame.set_symbol_name_id(callFrame.symbolNameId_); in SetFrameInfo() 1027 frame.set_file_path_id(callFrame.filePathId_); in SetFrameInfo() 1031 frame.set_sp(callFrame.sp_); in SetFrameInfo() 1032 if (!(callFrame.symbolNameId_ != 0 && callFrame.filePathId_ != 0)) { in SetFrameInfo() [all …]
|
/developtools/smartperf_host/trace_streamer/src/parser/pbreader_parser/arkts/ |
D | pbreader_js_cpu_profiler_parser.cpp | 32 CallFrame callFrame; member 36 void from_json(const json &j, CallFrame &callFrame) in from_json() argument 38 j.at("functionName").get_to(callFrame.functionName); in from_json() 39 j.at("scriptId").get_to(callFrame.scriptId); in from_json() 40 j.at("url").get_to(callFrame.url); in from_json() 41 j.at("lineNumber").get_to(callFrame.lineNumber); in from_json() 42 j.at("columnNumber").get_to(callFrame.columnNumber); in from_json() 49 j.at("callFrame").get_to(node.callFrame); in from_json() 73 auto functionName = node.callFrame.functionName; in ParseNodeData() 75 row.scriptId = node.callFrame.scriptId; in ParseNodeData() [all …]
|
/developtools/hiperf/src/ |
D | report.cpp | 458 void Report::OutputStdCallFrames(int indent, const ReportItemCallFrame &callFrame, uint64_t totalEv… in OutputStdCallFrames() argument 470 if (!OutputStdCallFrame(indent, callFrame.func_, callFrame.eventCount_, totalEventCount)) { in OutputStdCallFrames() 476 if (callFrame.selfEventCount_ != 0 and callFrame.selfEventCount_ != callFrame.eventCount_) { in OutputStdCallFrames() 478 callFrame.selfEventCount_, callFrame.eventCount_); in OutputStdCallFrames() 483 if (callFrame.childs.size() == 1u and in OutputStdCallFrames() 484 callFrame.childs[0].eventCount_ == callFrame.eventCount_) { in OutputStdCallFrames() 485 HLOGV("childCallFream %*c %s", indent, ' ', callFrame.childs[0].func_.data()); in OutputStdCallFrames() 487 OutputStdCallFrames(indent, callFrame.childs[0], callFrame.eventCount_); in OutputStdCallFrames() 490 for (const ReportItemCallFrame &childCallFrame : callFrame.childs) { in OutputStdCallFrames() 492 OutputStdCallFrames(indent + CALLSTACK_INDENT, childCallFrame, callFrame.eventCount_); in OutputStdCallFrames() [all …]
|
D | virtual_runtime.cpp | 469 void VirtualRuntime::MakeCallFrame(DfxSymbol &symbol, DfxFrame &callFrame) in MakeCallFrame() argument 471 callFrame.funcOffset = symbol.funcVaddr_; in MakeCallFrame() 472 callFrame.mapOffset = symbol.offsetToVaddr_; in MakeCallFrame() 473 callFrame.symbolFileIndex = symbol.symbolFileIndex_; in MakeCallFrame() 474 callFrame.funcName = symbol.GetName(); in MakeCallFrame() 475 if (callFrame.funcName.empty()) { in MakeCallFrame() 476 … HLOGD("callFrame.funcName:%s, GetName:%s\n", callFrame.funcName.c_str(), symbol.GetName().data()); in MakeCallFrame() 479 callFrame.index = static_cast<size_t>(symbol.index_); in MakeCallFrame() 480 callFrame.mapName = symbol.module_.empty() ? symbol.comm_ : symbol.module_; in MakeCallFrame() 481 HLOG_ASSERT_MESSAGE(!callFrame.funcName.empty(), "%s", symbol.ToDebugString().c_str()); in MakeCallFrame()
|
/developtools/profiler/device/plugins/native_daemon/include/ |
D | virtual_runtime.h | 67 const DfxSymbol GetSymbol(CallFrame& callFrame, pid_t pid, pid_t tid, 91 void FillSymbolNameId(CallFrame& callFrame, DfxSymbol& symbol); 92 void FillFileSet(CallFrame& callFrame, const DfxSymbol& symbol); 95 bool ArktsGetSymbolCache(CallFrame& callFrame, DfxSymbol &symbol); 97 void FillJsSymbolCache(CallFrame& callFrame, const DfxSymbol& symbol); 187 void MakeCallFrame(DfxSymbol &symbol, CallFrame &callFrame);
|
D | stack_preprocess.h | 120 void SetFrameInfo(T& frame, CallFrame& callFrame); 122 void ReportSymbolNameMap(CallFrame& callFrame, T& stackData); 124 void ReportFilePathMap(CallFrame& callFrame, T& stackData); 126 void ReportFrameMap(CallFrame& callFrame, T& stackData);
|
/developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/ |
D | virtual_runtime_test.cpp | 165 CallFrame callFrame(0); variable 167 symbol = runtime_->GetSymbol(callFrame, TEST_TID, TEST_TID); 170 callFrame.ip_ = TEST_KERNEL_VADDR + TEST_USET_MAP_BEGIN; 171 symbol = runtime_->GetSymbol(callFrame, TEST_TID, TEST_TID);
|
/developtools/smartperf_host/ide/src/trace/database/data-trafic/ |
D | ArkTsReceiver.ts | 200 const callFrame = symbolToChartFrame(sample, symbol); constant 201 lastSymbol!.children.push(callFrame); 202 lastSymbol!.childrenIds.push(callFrame.id); 203 callFrame.parentId = lastSymbol!.id; 204 lastSymbol = callFrame;
|
/developtools/hiperf/include/ |
D | virtual_runtime.h | 194 void MakeCallFrame(DfxSymbol &symbol, DfxFrame &callFrame);
|
D | report.h | 554 …void OutputStdCallFrames(int indent, const ReportItemCallFrame &callFrame, uint64_t totalEventCoun…
|
/developtools/smartperf_host/trace_streamer/src/parser/hiperf_parser/ |
D | perf_data_parser.cpp | 614 for (auto &callFrame : sample->callFrames_) { in UpdateCallChainUnCompressed() local 615 stackStr += "+" + base::number(callFrame.pc, base::INTEGER_RADIX_TYPE_HEX); in UpdateCallChainUnCompressed()
|