Home
last modified time | relevance | path

Searched refs:callchain_pos (Results 1 – 2 of 2) sorted by relevance

/system/extras/simpleperf/
Dcallchain.h60 size_t callchain_pos = 0; in AddCallChain() local
62 size_t match_length = GetMatchingLengthInNode(p, callchain, callchain_pos, is_same_sample); in AddCallChain()
64 callchain_pos += match_length; in AddCallChain()
70 if (callchain_pos == callchain.size()) { in AddCallChain()
76 NodeT* np = FindMatchingNode(p->children, callchain[callchain_pos], is_same_sample); in AddCallChain()
82 std::unique_ptr<NodeT> new_node = AllocateNode(callchain, callchain_pos, period, 0); in AddCallChain()
Drecord.cpp662 size_t callchain_pos = reinterpret_cast<char*>(callchain_data.ips) - binary_ - sizeof(uint64_t); in BuildBinaryWithNewCallChain() local
666 memcpy(new_binary, binary_, callchain_pos); in BuildBinaryWithNewCallChain()
707 CHECK_EQ(callchain_pos, static_cast<size_t>(reinterpret_cast<char*>(p64) - new_binary)) in BuildBinaryWithNewCallChain()