Home
last modified time | relevance | path

Searched refs:in_kernel (Results 1 – 12 of 12) sorted by relevance

/system/extras/simpleperf/
Dthread_tree.h47 bool in_kernel; member
51 Dso* dso, bool in_kernel, uint32_t flags = 0)
56 in_kernel(in_kernel), in start_addr()
101 bool in_kernel);
Dsample_tree.h94 bool in_kernel = r.InKernel(); in ProcessSampleRecord() local
96 EntryT* sample = CreateSample(r, in_kernel, &acc_info); in ProcessSampleRecord()
131 in_kernel = true; in ProcessSampleRecord()
134 in_kernel = false; in ProcessSampleRecord()
148 CreateCallChainSample(sample, ip, in_kernel, callchain, acc_info); in ProcessSampleRecord()
187 virtual EntryT* CreateSample(const SampleRecord& r, bool in_kernel,
192 bool in_kernel,
Dcmd_dumprecord.cpp170 bool in_kernel) { in DumpDataSection() argument
172 const MapEntry* map = thread_tree.FindMap(thread, ip, in_kernel); in DumpDataSection()
184 bool in_kernel = sr.InKernel(); in DumpDataSection() local
190 in_kernel = false; in DumpDataSection()
198 dso_name, symbol_name, vaddr_in_file, in_kernel); in DumpDataSection()
Dsample_tree_test.cpp64 void AddSample(int pid, int tid, uint64_t ip, bool in_kernel) { in AddSample() argument
66 const MapEntry* map = thread_tree_->FindMap(thread, ip, in_kernel); in AddSample()
Drecord.cpp217 MmapRecord::MmapRecord(const perf_event_attr& attr, bool in_kernel, in MmapRecord() argument
222 in_kernel ? PERF_RECORD_MISC_KERNEL : PERF_RECORD_MISC_USER); in MmapRecord()
269 Mmap2Record::Mmap2Record(const perf_event_attr& attr, bool in_kernel, uint32_t pid, uint32_t tid, in Mmap2Record() argument
272 SetTypeAndMisc(PERF_RECORD_MMAP2, in_kernel ? PERF_RECORD_MISC_KERNEL : PERF_RECORD_MISC_USER); in Mmap2Record()
840 bool in_kernel = InKernel(); in GetCallChain() local
842 *kernel_ip_count = in_kernel ? 1 : 0; in GetCallChain()
852 CHECK(in_kernel) << "User space callchain followed by kernel callchain."; in GetCallChain()
855 in_kernel = false; in GetCallChain()
869 if (in_kernel) { in GetCallChain()
894 BuildIdRecord::BuildIdRecord(bool in_kernel, pid_t pid, const BuildId& build_id, in BuildIdRecord() argument
[all …]
Dcmd_kmem.cpp146 SlabSample* CreateSample(const SampleRecord& r, bool in_kernel, in CreateSample() argument
148 if (!in_kernel) { in CreateSample()
215 const SlabSample* sample, uint64_t ip, bool in_kernel, in CreateCallChainSample() argument
218 if (!in_kernel) { in CreateCallChainSample()
Drecord.h280 MmapRecord(const perf_event_attr& attr, bool in_kernel, uint32_t pid,
307 Mmap2Record(const perf_event_attr& attr, bool in_kernel, uint32_t pid, uint32_t tid,
434 BuildIdRecord(bool in_kernel, pid_t pid, const BuildId& build_id,
Dcmd_report.cpp149 SampleEntry* CreateSample(const SampleRecord& r, bool in_kernel, in CreateSample() argument
154 thread_tree_->FindMap(thread, r.ip_data.ip, in_kernel); in CreateSample()
187 bool in_kernel, in CreateCallChainSample() argument
191 const MapEntry* map = thread_tree_->FindMap(thread, ip, in_kernel); in CreateCallChainSample()
Dcmd_report_sample.cpp118 bool GetCallEntry(const ThreadEntry* thread, bool in_kernel, uint64_t ip, bool omit_unknown_dso,
582 bool in_kernel, uint64_t ip, in GetCallEntry() argument
585 const MapEntry* map = thread_tree_.FindMap(thread, ip, in_kernel); in GetCallEntry()
Dthread_tree.cpp196 const MapEntry* ThreadTree::FindMap(const ThreadEntry* thread, uint64_t ip, bool in_kernel) { in FindMap() argument
198 if (!in_kernel) { in FindMap()
Dreport_lib_interface.cpp44 uint32_t in_kernel; member
291 current_sample_.in_kernel = r.InKernel(); in SetCurrentSample()
Dcmd_record.cpp1676 bool in_kernel = r.InKernel(); in CollectHitFileInfo() local
1683 in_kernel = true; in CollectHitFileInfo()
1686 in_kernel = false; in CollectHitFileInfo()
1700 map = thread_tree_.FindMap(thread, ip, in_kernel); in CollectHitFileInfo()