Searched refs:kernel_ip_count (Results 1 – 9 of 9) sorted by relevance
/system/extras/simpleperf/ |
D | cmd_report_sample.cpp | 547 size_t kernel_ip_count; in ProcessSampleRecord() local 548 std::vector<uint64_t> ips = r.GetCallChain(&kernel_ip_count); in ProcessSampleRecord() 549 if (kernel_ip_count > 0u && remove_unknown_kernel_symbols_ && !kernel_symbols_available_) { in ProcessSampleRecord() 550 ips.erase(ips.begin(), ips.begin() + kernel_ip_count); in ProcessSampleRecord() 551 kernel_ip_count = 0; in ProcessSampleRecord() 558 kernel_ip_count = std::min(kernel_ip_count, static_cast<size_t>(1u)); in ProcessSampleRecord() 563 callchain_report_builder_.Build(thread, ips, kernel_ip_count); in ProcessSampleRecord()
|
D | cmd_debug_unwind.cpp | 392 size_t kernel_ip_count; in WriteMapsForSample() local 393 std::vector<uint64_t> ips = r.GetCallChain(&kernel_ip_count); in WriteMapsForSample() 394 for (size_t i = kernel_ip_count; i < ips.size(); i++) { in WriteMapsForSample() 525 size_t kernel_ip_count; in ReportUnwindingResult() local 526 std::vector<uint64_t> ips = sr.GetCallChain(&kernel_ip_count); in ReportUnwindingResult() 527 if (kernel_ip_count != 0) { in ReportUnwindingResult() 528 ips.erase(ips.begin(), ips.begin() + kernel_ip_count); in ReportUnwindingResult()
|
D | report_utils.h | 61 const std::vector<uint64_t>& ips, size_t kernel_ip_count);
|
D | report_utils.cpp | 92 size_t kernel_ip_count) { in Build() argument 96 const MapEntry* map = thread_tree_.FindMap(thread, ips[i], i < kernel_ip_count); in Build()
|
D | report_lib_interface.cpp | 275 size_t kernel_ip_count; in SetCurrentSample() local 276 std::vector<uint64_t> ips = r.GetCallChain(&kernel_ip_count); in SetCurrentSample() 278 callchain_report_builder_.Build(current_thread_, ips, kernel_ip_count); in SetCurrentSample()
|
D | record.cpp | 643 size_t kernel_ip_count = 0; in UpdateUserCallChain() local 648 kernel_ip_count++; in UpdateUserCallChain() 650 if (kernel_ip_count + 1 + user_ips.size() <= callchain_data.ip_nr) { in UpdateUserCallChain() 655 size() + (kernel_ip_count + 1 + user_ips.size() - callchain_data.ip_nr) * sizeof(uint64_t); in UpdateUserCallChain() 656 callchain_data.ip_nr = kernel_ip_count; in UpdateUserCallChain() 834 std::vector<uint64_t> SampleRecord::GetCallChain(size_t* kernel_ip_count) const { in GetCallChain() 838 *kernel_ip_count = in_kernel ? 1 : 0; in GetCallChain() 866 ++*kernel_ip_count; in GetCallChain()
|
D | cmd_record_test.cpp | 877 size_t kernel_ip_count; in TEST() local 878 std::vector<uint64_t> ips = sample->GetCallChain(&kernel_ip_count); in TEST() 879 for (size_t i = kernel_ip_count; i < ips.size(); i++) { in TEST()
|
D | cmd_record.cpp | 1967 size_t kernel_ip_count; in CollectHitFileInfo() local 1968 std::vector<uint64_t> ips = r.GetCallChain(&kernel_ip_count); in CollectHitFileInfo() 1970 const MapEntry* map = thread_tree_.FindMap(thread, ips[i], i < kernel_ip_count); in CollectHitFileInfo()
|
D | record.h | 414 std::vector<uint64_t> GetCallChain(size_t* kernel_ip_count) const;
|