/system/extras/simpleperf/ |
D | sample_tree.h | 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, [all …]
|
D | callchain.h | 50 const std::vector<EntryT*>& callchain, uint64_t period, in AddCallChain() 53 NodeT* p = FindMatchingNode(children, callchain[0], is_same_sample); in AddCallChain() 55 std::unique_ptr<NodeT> new_node = AllocateNode(callchain, 0, period, 0); in AddCallChain() 62 GetMatchingLengthInNode(p, callchain, callchain_pos, is_same_sample); in AddCallChain() 70 if (callchain_pos == callchain.size()) { in AddCallChain() 76 NodeT* np = FindMatchingNode(p->children, callchain[callchain_pos], in AddCallChain() 84 AllocateNode(callchain, callchain_pos, period, 0); in AddCallChain()
|
D | SampleDisplayer.h | 116 if (sample->callchain.children.empty()) { in operator() 120 if (brief_callgraph_ && sample->callchain.duplicated) { in operator() 127 for (size_t i = 0; i < sample->callchain.children.size(); ++i) { in operator() 128 DisplayCallGraphEntry(fp, 1, prefix, sample->callchain.children[i], in operator() 129 sample->callchain.children_period + sample->GetPeriod(), in operator() 130 (i + 1 == sample->callchain.children.size())); in operator()
|
D | cmd_report_sample.cpp | 343 const proto::Sample_CallChainEntry& callchain = sample.callchain(i); in DumpProtobufReport() local 345 callchain.vaddr_in_file()); in DumpProtobufReport() 346 FprintIndented(report_fp_, 2, "file_id: %u\n", callchain.file_id()); in DumpProtobufReport() 347 int32_t symbol_id = callchain.symbol_id(); in DumpProtobufReport() 354 max_symbol_id_map[callchain.file_id()] = in DumpProtobufReport() 355 std::max(max_symbol_id_map[callchain.file_id()], symbol_id); in DumpProtobufReport() 543 proto::Sample_CallChainEntry* callchain = sample->add_callchain(); in PrintSampleRecordInProtobuf() local 554 callchain->set_vaddr_in_file(node.vaddr_in_file); in PrintSampleRecordInProtobuf() 555 callchain->set_file_id(file_id); in PrintSampleRecordInProtobuf() 556 callchain->set_symbol_id(symbol_id); in PrintSampleRecordInProtobuf()
|
D | SampleComparator.h | 63 BUILD_COMPARE_VALUE_FUNCTION(CompareCallGraphDuplicated, callchain.duplicated);
|
D | cmd_kmem.cpp | 43 CallChainRoot<SlabSample> callchain; // a callchain tree representing all member 216 const std::vector<SlabSample*>& callchain, in CreateCallChainSample() argument 226 callchain); in CreateCallChainSample()
|
D | report_sample.proto | 38 repeated CallChainEntry callchain = 3; field
|
D | cmd_report.cpp | 72 CallChainRoot<SampleEntry> callchain; member 188 const std::vector<SampleEntry*>& callchain, in CreateCallChainSample() argument 202 return InsertCallChainSample(std::move(callchain_sample), callchain); in CreateCallChainSample()
|
/system/extras/simpleperf/scripts/inferno/ |
D | data_types.py | 36 def add_callchain(self, callchain, symbol, sample): argument 41 for j in range(callchain.nr): 42 entry = callchain.entries[callchain.nr - j - 1] 72 def add_sample(self, sample, symbol, callchain): argument 74 thread.add_callchain(callchain, symbol, sample)
|
D | inferno.py | 133 callchain = lib.GetCallChainOfCurrentSample() 134 if sample_filter_fn and not sample_filter_fn(sample, symbol, callchain): 136 process.add_sample(sample, symbol, callchain)
|
/system/extras/simpleperf/scripts/ |
D | debug_unwind_reporter.py | 149 def __init__(self, pid, tid, unwinding_result, callchain, sample_record): argument 153 self.callchain = callchain 161 for i, node in enumerate(self.callchain): 185 if result.callchain[-1].vaddr_in_file == sample_result.callchain[-1].vaddr_in_file: 206 function_name = sample_result.callchain[-1].function_name 235 filename = sample_result.callchain[-1].filename 255 if name in sample_result.callchain[-1].filename: 259 def is_callchain_complete(callchain): argument 260 for node in callchain: 265 if is_callchain_complete(sample_result.callchain): [all …]
|
D | report_sample.py | 45 callchain = lib.GetCallChainOfCurrentSample() 53 for i in range(callchain.nr): 54 entry = callchain.entries[i]
|
D | binary_cache_builder.py | 66 callchain = lib.GetCallChainOfCurrentSample() 67 for i in range(callchain.nr): 68 symbols.append(callchain.entries[i].symbol)
|
D | annotate.py | 213 callchain = lib.GetCallChainOfCurrentSample() 214 for i in range(callchain.nr): 215 symbols.append(callchain.entries[i].symbol) 272 callchain = lib.GetCallChainOfCurrentSample() 273 for i in range(callchain.nr): 274 symbols.append(callchain.entries[i].symbol)
|
D | simpleperf_report_lib.py | 324 callchain = self._GetCallChainOfCurrentSampleFunc(self.getInstance()) 325 assert not _is_null(callchain) 326 return callchain[0]
|
D | test.py | 881 callchain = self.report_lib.GetCallChainOfCurrentSample() 882 self.assertEqual(callchain.nr, 0) 919 callchain = self.report_lib.GetCallChainOfCurrentSample() 920 for i in range(callchain.nr): 921 if callchain.entries[i].symbol.symbol_name == sleep_function_name: 933 callchain = report_lib.GetCallChainOfCurrentSample() 934 for i in range(callchain.nr): 935 if callchain.entries[i].symbol.symbol_name == 'artMterpAsmInstructionStart':
|
D | pprof_proto_generator.py | 291 callchain = self.lib.GetCallChainOfCurrentSample() 303 for i in range(callchain.nr): 304 entry = callchain.entries[i]
|
D | report_html.py | 534 callchain = lib.GetCallChainOfCurrentSample() 548 for i in range(callchain.nr): 549 symbol = callchain.entries[i].symbol
|
/system/extras/perfprofd/tests/ |
D | Android.bp | 71 "callchain.canned.perf.data",
|
D | perfprofd_test.cc | 861 for (uint64_t cc : sample.callchain()) { in FormatSampleEvent()
|
/system/extras/perfprofd/ |
D | perf_data_converter.cc | 83 CHECK_EQ(parsed_it->callchain.size(), sample_event.callchain_size()); in AddSymbolInfo() 127 for (auto& callchain_data: parsed_it->callchain) { in AddSymbolInfo()
|
/system/extras/perfprofd/scripts/ |
D | perf_proto_stack.py | 400 for cc_ip in sample_ev.callchain:
|