Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dcmd_report_sample.cpp484 size_t kernel_ip_count; in ProcessSampleRecord() local
485 std::vector<uint64_t> ips = r.GetCallChain(&kernel_ip_count); in ProcessSampleRecord()
486 if (kernel_ip_count > 0u && remove_unknown_kernel_symbols_ && !kernel_symbols_available_) { in ProcessSampleRecord()
487 ips.erase(ips.begin(), ips.begin() + kernel_ip_count); in ProcessSampleRecord()
488 kernel_ip_count = 0; in ProcessSampleRecord()
495 kernel_ip_count = std::min(kernel_ip_count, static_cast<size_t>(1u)); in ProcessSampleRecord()
507 if (!GetCallEntry(thread, i < kernel_ip_count, ips[i], omit_unknown_dso, &entry)) { in ProcessSampleRecord()
Dreport_lib_interface.cpp301 size_t kernel_ip_count; in SetCurrentSample() local
302 std::vector<uint64_t> ips = r.GetCallChain(&kernel_ip_count); in SetCurrentSample()
309 const MapEntry* map = thread_tree_.FindMap(current_thread_, ips[i], i < kernel_ip_count); in SetCurrentSample()
Drecord.cpp651 size_t kernel_ip_count = 0; in UpdateUserCallChain() local
656 kernel_ip_count++; in UpdateUserCallChain()
658 if (kernel_ip_count + 1 + user_ips.size() <= callchain_data.ip_nr) { in UpdateUserCallChain()
662 size_t new_size = size() + (kernel_ip_count + 1 + user_ips.size() - callchain_data.ip_nr) * in UpdateUserCallChain()
664 callchain_data.ip_nr = kernel_ip_count; in UpdateUserCallChain()
838 std::vector<uint64_t> SampleRecord::GetCallChain(size_t* kernel_ip_count) const { in GetCallChain()
842 *kernel_ip_count = in_kernel ? 1 : 0; in GetCallChain()
870 ++*kernel_ip_count; in GetCallChain()
Drecord.h418 std::vector<uint64_t> GetCallChain(size_t* kernel_ip_count) const;