Home
last modified time | relevance | path

Searched refs:kernel_ip_count (Results 1 – 9 of 9) sorted by relevance

/system/extras/simpleperf/
Dcmd_report_sample.cpp547 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()
Dcmd_debug_unwind.cpp392 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()
Dreport_utils.h61 const std::vector<uint64_t>& ips, size_t kernel_ip_count);
Dreport_utils.cpp92 size_t kernel_ip_count) { in Build() argument
96 const MapEntry* map = thread_tree_.FindMap(thread, ips[i], i < kernel_ip_count); in Build()
Dreport_lib_interface.cpp275 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()
Drecord.cpp643 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()
Dcmd_record_test.cpp877 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()
Dcmd_record.cpp1967 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()
Drecord.h414 std::vector<uint64_t> GetCallChain(size_t* kernel_ip_count) const;