Searched refs:callchain (Results 1 – 12 of 12) sorted by relevance
/system/extras/simpleperf/ |
D | callchain.cpp | 74 void CallChainRoot::AddCallChain(const std::vector<SampleEntry*>& callchain, uint64_t period) { in AddCallChain() argument 76 CallChainNode* p = FindMatchingNode(children, callchain[0]); in AddCallChain() 78 std::unique_ptr<CallChainNode> new_node = AllocateNode(callchain, 0, period, 0); in AddCallChain() 84 size_t match_length = GetMatchingLengthInNode(p, callchain, callchain_pos); in AddCallChain() 92 if (callchain_pos == callchain.size()) { in AddCallChain() 98 CallChainNode* np = FindMatchingNode(p->children, callchain[callchain_pos]); in AddCallChain() 104 std::unique_ptr<CallChainNode> new_node = AllocateNode(callchain, callchain_pos, period, 0); in AddCallChain()
|
D | sample_tree.cpp | 75 const std::vector<SampleEntry*>& callchain) { in AddCallChainSample() argument 97 if (std::find(callchain.begin(), callchain.end(), sample) != callchain.end()) { in AddCallChainSample() 145 const std::vector<SampleEntry*>& callchain, in InsertCallChainForSample() argument 147 sample->callchain.AddCallChain(callchain, period); in InsertCallChainForSample() 154 sample->callchain.SortByPeriod(); in VisitAllSamples()
|
D | cmd_report.cpp | 579 std::vector<SampleEntry*> callchain; in ProcessSampleRecord() local 580 callchain.push_back(sample); in ProcessSampleRecord() 605 r.period_data.period, in_kernel, callchain); in ProcessSampleRecord() 606 callchain.push_back(sample); in ProcessSampleRecord() 613 std::reverse(callchain.begin(), callchain.end()); in ProcessSampleRecord() 615 while (callchain.size() >= 2) { in ProcessSampleRecord() 616 SampleEntry* sample = callchain[0]; in ProcessSampleRecord() 617 callchain.erase(callchain.begin()); in ProcessSampleRecord() 623 sample_tree_->InsertCallChainForSample(sample, callchain, r.period_data.period); in ProcessSampleRecord() 746 for (size_t i = 0; i < sample.callchain.children.size(); ++i) { in PrintCallGraph() [all …]
|
D | sample_tree.h | 52 CallChainRoot callchain; // A callchain tree representing all callchains in the sample records. member 98 bool in_kernel, const std::vector<SampleEntry*>& callchain); 99 void InsertCallChainForSample(SampleEntry* sample, const std::vector<SampleEntry*>& callchain,
|
D | callchain.h | 39 void AddCallChain(const std::vector<SampleEntry*>& callchain, uint64_t period);
|
D | Android.mk | 72 callchain.cpp \
|
/system/extras/perfprofd/quipper/ |
D | perf_internals.h | 47 sample.callchain = NULL; in PerfSampleCustodian() 51 if (sample_.callchain) in ~PerfSampleCustodian() 52 delete [] sample_.callchain; in ~PerfSampleCustodian()
|
D | perf_parser.cc | 273 if (sample_info.callchain && in MapSampleEvent() 277 sample_info.callchain, in MapSampleEvent() 303 struct ip_callchain* callchain, in MapCallchain() argument 305 if (!callchain) { in MapCallchain() 313 if (callchain->nr == 0) in MapCallchain() 317 parsed_event->callchain.resize(callchain->nr); in MapCallchain() 319 for (unsigned int j = 0; j < callchain->nr; ++j) { in MapCallchain() 320 uint64_t entry = callchain->ips[j]; in MapCallchain() 327 callchain->ips[j] = ip; in MapCallchain() 333 &callchain->ips[j], in MapCallchain() [all …]
|
D | perf_parser.h | 89 std::vector<DSOAndOffset> callchain; member 215 struct ip_callchain* callchain,
|
D | perf_reader.cc | 276 CHECK_EQ(static_cast<void*>(NULL), sample->callchain); in ReadCallchain() 283 struct ip_callchain* callchain = in ReadCallchain() local 285 callchain->nr = callchain_size; in ReadCallchain() 287 callchain->ips[i] = *array++; in ReadCallchain() 289 ByteSwap(&callchain->ips[i]); in ReadCallchain() 291 sample->callchain = callchain; in ReadCallchain() 581 if (!sample.callchain) { in WritePerfSampleToData() 584 *array++ = sample.callchain->nr; in WritePerfSampleToData() 585 for (size_t i = 0; i < sample.callchain->nr; ++i) in WritePerfSampleToData() 586 *array++ = sample.callchain->ips[i]; in WritePerfSampleToData()
|
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/ |
D | event.h | 130 struct ip_callchain * callchain; member
|
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/ |
D | event.h | 118 struct ip_callchain *callchain; member
|