Lines Matching refs:callchain
123 std::vector<EntryT*> callchain; in ProcessSampleRecord() local
124 callchain.push_back(sample); in ProcessSampleRecord()
148 CreateCallChainSample(sample, ip, in_kernel, callchain, acc_info); in ProcessSampleRecord()
152 callchain.push_back(callchain_sample); in ProcessSampleRecord()
159 std::reverse(callchain.begin(), callchain.end()); in ProcessSampleRecord()
162 while (callchain.size() >= 2) { in ProcessSampleRecord()
163 EntryT* sample = callchain[0]; in ProcessSampleRecord()
164 callchain.erase(callchain.begin()); in ProcessSampleRecord()
170 InsertCallChainForSample(sample, callchain, acc_info); in ProcessSampleRecord()
193 const std::vector<EntryT*>& callchain,
222 const std::vector<EntryT*>& callchain) { in InsertCallChainSample() argument
242 if (std::find(callchain.begin(), callchain.end(), sample) != in InsertCallChainSample()
243 callchain.end()) { in InsertCallChainSample()
251 const std::vector<EntryT*>& callchain, in InsertCallChainForSample() argument
254 sample->callchain.AddCallChain( in InsertCallChainForSample()
255 callchain, period, [&](const EntryT* s1, const EntryT* s2) { in InsertCallChainForSample()
265 sample->callchain.duplicated = true; in AddCallChainDuplicateInfo()
330 void SortCallChain(EntryT* sample) { sample->callchain.SortByPeriod(); } in SortCallChain()