Searched refs:CallChainJoiner (Results 1 – 8 of 8) sorted by relevance
/system/extras/simpleperf/ |
D | CallChainJoiner_test.cpp | 169 CallChainJoiner joiner(sizeof(CacheNode) * 1024, 1, true); in TEST_F() 171 ASSERT_TRUE(joiner.AddCallChain(pid, pid, CallChainJoiner::ORIGINAL_OFFLINE, in TEST_F() 173 ASSERT_TRUE(joiner.AddCallChain(pid, pid, CallChainJoiner::ORIGINAL_REMOTE, in TEST_F() 175 ASSERT_TRUE(joiner.AddCallChain(pid, pid, CallChainJoiner::ORIGINAL_OFFLINE, in TEST_F() 181 CallChainJoiner::ChainType type; in TEST_F() 190 ASSERT_EQ(type, CallChainJoiner::ORIGINAL_OFFLINE); in TEST_F() 194 ASSERT_EQ(type, CallChainJoiner::JOINED_OFFLINE); in TEST_F() 203 ASSERT_EQ(type, i == 0u ? CallChainJoiner::ORIGINAL_REMOTE in TEST_F() 204 : CallChainJoiner::JOINED_REMOTE); in TEST_F() 213 ASSERT_EQ(type, CallChainJoiner::ORIGINAL_OFFLINE); in TEST_F() [all …]
|
D | CallChainJoiner.cpp | 177 static bool WriteCallChain(FILE* fp, pid_t pid, pid_t tid, CallChainJoiner::ChainType type, in WriteCallChain() 206 static bool ReadCallChain(FILE* fp, pid_t& pid, pid_t& tid, CallChainJoiner::ChainType& type, in ReadCallChain() 233 CallChainJoiner::ChainType& type, in ReadCallChainInReverseOrder() 271 CallChainJoiner::CallChainJoiner(size_t cache_size, size_t matched_node_count_to_extend_callchain, in CallChainJoiner() function in simpleperf::CallChainJoiner 281 CallChainJoiner::~CallChainJoiner() { in ~CallChainJoiner() 290 bool CallChainJoiner::AddCallChain(pid_t pid, pid_t tid, ChainType type, in AddCallChain() 327 bool CallChainJoiner::JoinCallChains() { in JoinCallChains() 384 bool CallChainJoiner::GetNextCallChain(pid_t& pid, pid_t& tid, ChainType& type, in GetNextCallChain() 409 void CallChainJoiner::DumpStat() { in DumpStat()
|
D | CallChainJoiner.h | 144 class CallChainJoiner { 147 CallChainJoiner(size_t cache_size, size_t matched_node_count_to_extend_callchain, 149 ~CallChainJoiner();
|
D | cmd_debug_unwind.cpp | 130 CallChainJoiner callchain_joiner_; 260 CallChainJoiner::ORIGINAL_OFFLINE, ips, sps)) { in ProcessRecord() 323 CallChainJoiner::ChainType type; in JoinCallChains() 333 } while (type != CallChainJoiner::JOINED_OFFLINE); in JoinCallChains()
|
D | cmd_record.cpp | 340 std::unique_ptr<CallChainJoiner> callchain_joiner_; 419 callchain_joiner_.reset(new CallChainJoiner(DEFAULT_CALL_CHAIN_JOINER_CACHE_SIZE, in PrepareRecording() 1436 CallChainJoiner::ORIGINAL_OFFLINE, ips, sps); in UnwindRecord() 1503 CallChainJoiner::ChainType type; in JoinCallChains() 1509 CHECK_EQ(type, CallChainJoiner::JOINED_OFFLINE); in JoinCallChains()
|
D | record.cpp | 1087 CallChainRecord::CallChainRecord(pid_t pid, pid_t tid, CallChainJoiner::ChainType type, in CallChainRecord() 1116 case CallChainJoiner::ORIGINAL_OFFLINE: type_name = "ORIGINAL_OFFLINE"; break; in DumpData() 1117 case CallChainJoiner::ORIGINAL_REMOTE: type_name = "ORIGINAL_REMOTE"; break; in DumpData() 1118 case CallChainJoiner::JOINED_OFFLINE: type_name = "JOINED_OFFLINE"; break; in DumpData() 1119 case CallChainJoiner::JOINED_REMOTE: type_name = "JOINED_REMOTE"; break; in DumpData()
|
D | record.h | 521 CallChainRecord(pid_t pid, pid_t tid, simpleperf::CallChainJoiner::ChainType type, uint64_t time,
|
D | Android.bp | 280 "CallChainJoiner.cpp",
|