Searched refs:callchain_data (Results 1 – 8 of 8) sorted by relevance
/system/extras/simpleperf/ |
D | record_test.cpp | 72 ASSERT_EQ(2u, r2.callchain_data.ip_nr); in TEST_F() 73 ASSERT_EQ(PERF_CONTEXT_USER, r2.callchain_data.ips[0]); in TEST_F() 74 ASSERT_EQ(2u, r2.callchain_data.ips[1]); in TEST_F() 81 ASSERT_EQ(3u, r4.callchain_data.ip_nr); in TEST_F() 82 ASSERT_EQ(PERF_CONTEXT_USER, r4.callchain_data.ips[0]); in TEST_F() 83 ASSERT_EQ(PERF_CONTEXT_USER, r4.callchain_data.ips[1]); in TEST_F() 84 ASSERT_EQ(2u, r4.callchain_data.ips[2]); in TEST_F()
|
D | record_equal_test.h | 55 ASSERT_EQ(r1.callchain_data.ip_nr, r2.callchain_data.ip_nr); in CheckSampleRecordDataEqual() 56 for (size_t i = 0; i < r1.callchain_data.ip_nr; ++i) { in CheckSampleRecordDataEqual() 57 EXPECT_EQ(r1.callchain_data.ips[i], r2.callchain_data.ips[i]); in CheckSampleRecordDataEqual()
|
D | record.cpp | 457 MoveFromBinaryFormat(callchain_data.ip_nr, p); in SampleRecord() 458 callchain_data.ips = reinterpret_cast<uint64_t*>(p); in SampleRecord() 459 p += callchain_data.ip_nr * sizeof(uint64_t); in SampleRecord() 519 callchain_data.ip_nr = ips.size(); in SampleRecord() 580 MoveToBinaryFormat(callchain_data.ip_nr, p); in SampleRecord() 581 callchain_data.ips = reinterpret_cast<uint64_t*>(p); in SampleRecord() 612 for (i = 0; i < callchain_data.ip_nr; ++i) { in ExcludeKernelCallChain() 613 if (callchain_data.ips[i] == PERF_CONTEXT_USER) { in ExcludeKernelCallChain() 617 callchain_data.ips[i] = PERF_CONTEXT_USER; in ExcludeKernelCallChain() 619 while (++i < callchain_data.ip_nr) { in ExcludeKernelCallChain() [all …]
|
D | cmd_dumprecord.cpp | 187 for (size_t i = 0; i < sr.callchain_data.ip_nr; ++i) { in DumpDataSection() 188 if (sr.callchain_data.ips[i] >= PERF_CONTEXT_MAX) { in DumpDataSection() 189 if (sr.callchain_data.ips[i] == PERF_CONTEXT_USER) { in DumpDataSection() 197 get_symbol_function(sr.tid_data.pid, sr.tid_data.tid, sr.callchain_data.ips[i], in DumpDataSection()
|
D | sample_tree.h | 103 ips.insert(ips.end(), r.callchain_data.ips, in ProcessSampleRecord() 104 r.callchain_data.ips + r.callchain_data.ip_nr); in ProcessSampleRecord()
|
D | record.h | 388 PerfSampleCallChainType callchain_data; // Valid if PERF_SAMPLE_CALLCHAIN. member
|
D | cmd_record.cpp | 1678 for (uint64_t i = 0; i < r.callchain_data.ip_nr; ++i) { in CollectHitFileInfo() 1679 uint64_t ip = r.callchain_data.ips[i]; in CollectHitFileInfo()
|
/system/extras/perfprofd/ |
D | perf_data_converter.cc | 127 for (auto& callchain_data: parsed_it->callchain) { in AddSymbolInfo() local 128 if (callchain_data.dso_info_ == nullptr) { in AddSymbolInfo() 131 check_address(callchain_data.dso_info_->name, callchain_data.offset_); in AddSymbolInfo()
|