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.cpp478 size_t kernel_ip_count; in ProcessSampleRecord() local
479 std::vector<uint64_t> ips = r.GetCallChain(&kernel_ip_count); in ProcessSampleRecord()
480 if (kernel_ip_count > 0u && remove_unknown_kernel_symbols_ && !kernel_symbols_available_) { in ProcessSampleRecord()
481 ips.erase(ips.begin(), ips.begin() + kernel_ip_count); in ProcessSampleRecord()
482 kernel_ip_count = 0; in ProcessSampleRecord()
489 kernel_ip_count = std::min(kernel_ip_count, static_cast<size_t>(1u)); in ProcessSampleRecord()
501 if (!GetCallEntry(thread, i < kernel_ip_count, ips[i], omit_unknown_dso, &entry)) { in ProcessSampleRecord()
Dreport_lib_interface.cpp305 size_t kernel_ip_count; in SetCurrentSample() local
306 std::vector<uint64_t> ips = r.GetCallChain(&kernel_ip_count); in SetCurrentSample()
314 const MapEntry* map = thread_tree_.FindMap(current_thread_, ips[i], i < kernel_ip_count); in SetCurrentSample()
Drecord.cpp654 size_t kernel_ip_count = 0; in UpdateUserCallChain() local
659 kernel_ip_count++; in UpdateUserCallChain()
661 if (kernel_ip_count + 1 + user_ips.size() <= callchain_data.ip_nr) { in UpdateUserCallChain()
665 size_t new_size = size() + (kernel_ip_count + 1 + user_ips.size() - callchain_data.ip_nr) * in UpdateUserCallChain()
667 callchain_data.ip_nr = kernel_ip_count; in UpdateUserCallChain()
841 std::vector<uint64_t> SampleRecord::GetCallChain(size_t* kernel_ip_count) const { in GetCallChain()
845 *kernel_ip_count = in_kernel ? 1 : 0; in GetCallChain()
873 ++*kernel_ip_count; in GetCallChain()
Drecord.h421 std::vector<uint64_t> GetCallChain(size_t* kernel_ip_count) const;