| /developtools/hiperf/test/unittest/common/native/ |
| D | report_protobuf_file_test.cpp | 296 sample.callFrames_.emplace_back(0x1, 0x1234, "first_user_func", "user_symbol"); 297 sample.callFrames_.emplace_back(0x2, 0x1234, "first_user2_func", "user_symbol2"); 298 sample.callFrames_.emplace_back(0x3, 0x1234, "second_user2_func", "user_symbol2"); 300 sample.callFrames_.at(0).symbolFileIndex_ = 0; 301 sample.callFrames_.at(1).symbolFileIndex_ = 1; 302 sample.callFrames_.at(2).symbolFileIndex_ = 1; 303 sample.callFrames_.at(0).symbolIndex_ = 0; 304 sample.callFrames_.at(1).symbolIndex_ = 0; 305 sample.callFrames_.at(2).symbolIndex_ = 1; 326 sample.callFrames_.size()); in __anoncfc228cc0502() [all …]
|
| D | perf_event_record_test.cpp | 450 record.callFrames_ = {1, 2, 3, 4, 5, 6, 7, 8, 9}; 458 ASSERT_EQ(record.callFrames_.size() + 1, record.data_.nr); 461 ASSERT_EQ(record.data_.ips[i], record.callFrames_.at(i - 1).ip_); 481 record.callFrames_ = {1, 2, 3, 4, 5, 6, 7, 8, 9}; 484 ASSERT_EQ(record.callFrames_.size() + 1, record.data_.nr); 487 ASSERT_EQ(record.data_.ips[i], record.callFrames_.at(i - 1).ip_); 504 record.callFrames_ = {4, 5, 6, 7, 8, 9}; 510 ASSERT_EQ(record.callFrames_.size() + ips.size() + 1, record.data_.nr); 515 for (size_t i = 0; i < record.callFrames_.size(); i++) { 516 ASSERT_EQ(record.data_.ips[i + ips.size() + 1], record.callFrames_.at(i).ip_); [all …]
|
| D | report_test.cpp | 717 sample.callFrames_.emplace_back(0x1, 0x1234, "frame1", "dummy"); 718 sample.callFrames_.emplace_back(0x2, 0x1234, "frame2", "dummy"); 719 sample.callFrames_.emplace_back(0x3, 0x1234, "frame3", "dummy"); 720 sample.callFrames_.emplace_back(0x3, 0x1234, "frame4", "dummy"); 785 sample.callFrames_.emplace_back(0x1, 0x1234, "frame1", "dummy"); 786 sample.callFrames_.emplace_back(0x2, 0x1234, "frame2", "dummy"); 787 sample.callFrames_.emplace_back(0x3, 0x1234, "frame3", "dummy"); 789 sample.callFrames_.emplace_back(0x3, 0, "frame4", "dummy");
|
| D | virtual_runtime_test.cpp | 373 ASSERT_LE(TEST_RECORD_CALLSTACK_IP_FUNC.size(), sample.callFrames_.size()); 375 EXPECT_EQ(TEST_RECORD_CALLSTACK_IP_FUNC[i].first, sample.callFrames_[i].vaddrInFile_); 377 sample.callFrames_[i].symbolName_.data());
|
| /developtools/hiperf/src/ |
| D | virtual_runtime.cpp | 320 MakeCallFrame(symbol, recordSample.callFrames_.emplace_back(ip, 0)); in SymbolicCallFrame() 321 HLOGV(" (%zu)unwind symbol: %*s%s", recordSample.callFrames_.size(), in SymbolicCallFrame() 322 static_cast<int>(recordSample.callFrames_.size()), "", in SymbolicCallFrame() 323 recordSample.callFrames_.back().ToSymbolString().c_str()); in SymbolicCallFrame() 332 recordSample.callFrames_.clear(); in SymbolicRecord() 370 recordSample.callFrames_); in UnwindFromRecord() 374 size_t oldSize = recordSample.callFrames_.size(); in UnwindFromRecord() 375 HLOGV("unwind %zu", recordSample.callFrames_.size()); in UnwindFromRecord() 376 callstack_.ExpandCallStack(thread.tid_, recordSample.callFrames_, callstackMergeLevel_); in UnwindFromRecord() 377 HLOGV("expand %zu (+%zu)", recordSample.callFrames_.size(), in UnwindFromRecord() [all …]
|
| D | report.cpp | 41 HLOG_ASSERT(sample.callFrames_.size() > 0); in AddReportItem() 42 if (sample.callFrames_.size() > 0) { in AddReportItem() 46 auto frameIt = sample.callFrames_.rbegin(); in AddReportItem() 54 for (frameIt = sample.callFrames_.rbegin(); frameIt != sample.callFrames_.rend(); in AddReportItem() 62 (std::next(frameIt) == sample.callFrames_.rend()) ? sample.data_.period : 0); in AddReportItem() 71 auto frameIt = sample.callFrames_.begin(); in AddReportItem()
|
| D | subcommand_dump.cpp | 418 PrintIndent(indent, "\n callchain: %zu\n", sample->callFrames_.size()); in DumpCallChain() 419 if (sample->callFrames_.size() > 0) { in DumpCallChain() 421 for (auto frameIt = sample->callFrames_.begin(); frameIt != sample->callFrames_.end(); in DumpCallChain() 423 PrintIndent(indent, "%02zd:%s\n", std::distance(frameIt, sample->callFrames_.end()), in DumpCallChain()
|
| D | perf_event_record.cpp | 173 if (callFrames_.size() != 0) { in ReplaceWithCallStack() 178 ips_.reserve(data_.nr + callFrames_.size() + perfContextSize); in ReplaceWithCallStack() 186 bool ret = std::all_of(callFrames_.begin(), callFrames_.end(), [&](const CallFrame &frame) { in ReplaceWithCallStack() 188 if (originalSize != 0 and (originalSize != callFrames_.size()) and in ReplaceWithCallStack() 197 HLOGV("combed %zu", callFrames_.size()); in ReplaceWithCallStack() 199 HLOGV("failed to combed %zu", callFrames_.size()); in ReplaceWithCallStack()
|
| D | report_protobuf_file.cpp | 125 for (const CallFrame &frame : recordSample.callFrames_) { in ProcessSampleRecord()
|
| D | subcommand_report.cpp | 207 sample->callFrames_); in ProcessSample()
|
| /developtools/profiler/device/plugins/native_daemon/src/ |
| D | stack_preprocess.cpp | 102 callFrames_.reserve(hookConfig_.max_stack_depth()); in StackPreprocess() 212 callFrames_.clear(); in TakeResults() 219 callFrames_.emplace_back(fpIp[idx]); in TakeResults() 235 size_t realFrameDepth = callFrames_.size(); in TakeResults() 244 rawData->stackConext->pid, rawData->stackConext->tid, callFrames_, stackDepth); in TakeResults() 250 SetHookData(rawData, callFrames_, stackData); in TakeResults() 252 WriteFrames(rawData, callFrames_); in TakeResults() 254 SetHookData(rawData, callFrames_, stackData); in TakeResults() 264 curTimeCost, rawData->stackConext->type, realFrameDepth, callFrames_.size()); in TakeResults()
|
| /developtools/smartperf_host/trace_streamer/src/parser/hiperf_parser/ |
| D | perf_data_parser.cpp | 257 for (auto frame = sample->callFrames_.rbegin(); frame != sample->callFrames_.rend(); ++frame) { in UpdatePerfCallChainData()
|
| /developtools/profiler/host/smartperf/trace_streamer/src/parser/hiperf_parser/ |
| D | perf_data_parser.cpp | 254 for (auto frame = sample->callFrames_.rbegin(); frame != sample->callFrames_.rend(); ++frame) { in UpdatePerfCallChainData()
|
| /developtools/profiler/device/plugins/native_daemon/include/ |
| D | stack_preprocess.h | 122 std::vector<CallFrame> callFrames_; variable
|
| /developtools/hiperf/include/ |
| D | perf_event_record.h | 239 std::vector<CallFrame> callFrames_; variable
|