Searched refs:callchain_data (Results 1 – 7 of 7) sorted by relevance
/system/extras/simpleperf/ |
D | record_test.cpp | 79 ASSERT_EQ(2u, r2.callchain_data.ip_nr); in TEST_F() 80 ASSERT_EQ(PERF_CONTEXT_USER, r2.callchain_data.ips[0]); in TEST_F() 81 ASSERT_EQ(2u, r2.callchain_data.ips[1]); in TEST_F() 90 ASSERT_EQ(3u, r4.callchain_data.ip_nr); in TEST_F() 91 ASSERT_EQ(PERF_CONTEXT_USER, r4.callchain_data.ips[0]); in TEST_F() 92 ASSERT_EQ(PERF_CONTEXT_USER, r4.callchain_data.ips[1]); in TEST_F() 93 ASSERT_EQ(2u, r4.callchain_data.ips[2]); in TEST_F()
|
D | record_equal_test.h | 75 ASSERT_EQ(r1.callchain_data.ip_nr, r2.callchain_data.ip_nr); in CheckRecordDataEqual() 76 for (size_t i = 0; i < r1.callchain_data.ip_nr; ++i) { in CheckRecordDataEqual() 77 EXPECT_EQ(r1.callchain_data.ips[i], r2.callchain_data.ips[i]); in CheckRecordDataEqual()
|
D | record.cpp | 537 MoveFromBinaryFormat(callchain_data.ip_nr, p); in Parse() 538 CHECK_SIZE_U64(p, end, callchain_data.ip_nr); in Parse() 539 callchain_data.ips = reinterpret_cast<uint64_t*>(p); in Parse() 540 p += callchain_data.ip_nr * sizeof(uint64_t); in Parse() 611 callchain_data.ip_nr = ips.size(); in SampleRecord() 697 MoveToBinaryFormat(callchain_data.ip_nr, p); in SampleRecord() 698 callchain_data.ips = reinterpret_cast<uint64_t*>(p); in SampleRecord() 735 for (i = 0; i < callchain_data.ip_nr; ++i) { in ExcludeKernelCallChain() 736 if (callchain_data.ips[i] == PERF_CONTEXT_USER) { in ExcludeKernelCallChain() 740 callchain_data.ips[i] = PERF_CONTEXT_USER; in ExcludeKernelCallChain() [all …]
|
D | sample_tree.h | 102 ips.insert(ips.end(), r.callchain_data.ips, r.callchain_data.ips + r.callchain_data.ip_nr); in ProcessSampleRecord()
|
D | cmd_monitor.cpp | 540 for (size_t i = 0; i < sr.callchain_data.ip_nr; ++i) { in DumpSampleCallchain() 541 if (sr.callchain_data.ips[i] >= PERF_CONTEXT_MAX) { in DumpSampleCallchain() 542 if (sr.callchain_data.ips[i] == PERF_CONTEXT_USER) { in DumpSampleCallchain() 548 GetSymbolInfo(sr.tid_data.pid, sr.tid_data.tid, sr.callchain_data.ips[i], in_kernel); in DumpSampleCallchain()
|
D | cmd_dumprecord.cpp | 388 for (size_t i = 0; i < sr.callchain_data.ip_nr; ++i) { in ProcessSampleRecord() 389 if (sr.callchain_data.ips[i] >= PERF_CONTEXT_MAX) { in ProcessSampleRecord() 390 if (sr.callchain_data.ips[i] == PERF_CONTEXT_USER) { in ProcessSampleRecord() 396 GetSymbolInfo(sr.tid_data.pid, sr.tid_data.tid, sr.callchain_data.ips[i], in_kernel); in ProcessSampleRecord()
|
D | record.h | 400 PerfSampleCallChainType callchain_data; // Valid if PERF_SAMPLE_CALLCHAIN. member
|