Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dthread_tree.h45 bool in_kernel; member
48 MapEntry(uint64_t start_addr, uint64_t len, uint64_t pgoff, Dso* dso, bool in_kernel,
54 in_kernel(in_kernel), in start_addr()
117 const MapEntry* FindMap(const ThreadEntry* thread, uint64_t ip, bool in_kernel);
Dsample_tree.h93 bool in_kernel = r.InKernel(); in ProcessSampleRecord() local
95 EntryT* sample = CreateSample(r, in_kernel, &acc_info); in ProcessSampleRecord()
128 in_kernel = true; in ProcessSampleRecord()
131 in_kernel = false; in ProcessSampleRecord()
145 CreateCallChainSample(thread, sample, ip, in_kernel, callchain, acc_info); in ProcessSampleRecord()
184 virtual EntryT* CreateSample(const SampleRecord& r, bool in_kernel,
188 uint64_t ip, bool in_kernel,
Dcmd_monitor.cpp167 SymbolInfo GetSymbolInfo(uint32_t pid, uint32_t tid, uint64_t ip, bool in_kernel);
544 bool in_kernel = sr.InKernel(); in DumpSampleCallchain() local
549 in_kernel = false; in DumpSampleCallchain()
554 GetSymbolInfo(sr.tid_data.pid, sr.tid_data.tid, sr.callchain_data.ips[i], in_kernel); in DumpSampleCallchain()
564 SymbolInfo MonitorCommand::GetSymbolInfo(uint32_t pid, uint32_t tid, uint64_t ip, bool in_kernel) { in GetSymbolInfo() argument
566 const MapEntry* map = thread_tree_.FindMap(thread, ip, in_kernel); in GetSymbolInfo()
Dthread_tree_test.cpp69 const Symbol* FindSymbol(int pid, int tid, uint64_t ip, bool in_kernel = false) { in FindSymbol() argument
71 auto map = thread_tree_.FindMap(thread, ip, in_kernel); in FindSymbol()
Dcmd_dumprecord.cpp203 SymbolInfo GetSymbolInfo(uint32_t pid, uint32_t tid, uint64_t ip, bool in_kernel);
370 bool in_kernel = sr.InKernel(); in ProcessSampleRecord() local
376 in_kernel = false; in ProcessSampleRecord()
381 GetSymbolInfo(sr.tid_data.pid, sr.tid_data.tid, sr.callchain_data.ips[i], in_kernel); in ProcessSampleRecord()
411 bool in_kernel) { in GetSymbolInfo() argument
413 const MapEntry* map = thread_tree_.FindMap(thread, ip, in_kernel); in GetSymbolInfo()
Dsample_tree_test.cpp65 void AddSample(int pid, int tid, uint64_t ip, bool in_kernel) { in AddSample() argument
67 const MapEntry* map = thread_tree_->FindMap(thread, ip, in_kernel); in AddSample()
Drecord.cpp224 MmapRecord::MmapRecord(const perf_event_attr& attr, bool in_kernel, uint32_t pid, uint32_t tid, in MmapRecord() argument
227 SetTypeAndMisc(PERF_RECORD_MMAP, in_kernel ? PERF_RECORD_MISC_KERNEL : PERF_RECORD_MISC_USER); in MmapRecord()
270 Mmap2Record::Mmap2Record(const perf_event_attr& attr, bool in_kernel, uint32_t pid, uint32_t tid, in Mmap2Record() argument
273 SetTypeAndMisc(PERF_RECORD_MMAP2, in_kernel ? PERF_RECORD_MISC_KERNEL : PERF_RECORD_MISC_USER); in Mmap2Record()
836 bool in_kernel = InKernel(); in GetCallChain() local
838 *kernel_ip_count = in_kernel ? 1 : 0; in GetCallChain()
848 in_kernel = true; in GetCallChain()
851 in_kernel = false; in GetCallChain()
865 if (in_kernel) { in GetCallChain()
904 BuildIdRecord::BuildIdRecord(bool in_kernel, uint32_t pid, const BuildId& build_id, in BuildIdRecord() argument
[all …]
Dcmd_kmem.cpp138 SlabSample* CreateSample(const SampleRecord& r, bool in_kernel, in CreateSample() argument
140 if (!in_kernel) { in CreateSample()
204 bool in_kernel, const std::vector<SlabSample*>& callchain, in CreateCallChainSample() argument
206 if (!in_kernel) { in CreateCallChainSample()
Drecord.h282 MmapRecord(const perf_event_attr& attr, bool in_kernel, uint32_t pid, uint32_t tid, uint64_t addr,
308 Mmap2Record(const perf_event_attr& attr, bool in_kernel, uint32_t pid, uint32_t tid,
443 BuildIdRecord(bool in_kernel, uint32_t pid, const BuildId& build_id, const std::string& filename);
Dcmd_report.cpp166 SampleEntry* CreateSample(const SampleRecord& r, bool in_kernel, uint64_t* acc_info) override { in CreateSample() argument
168 const MapEntry* map = thread_tree_->FindMap(thread, r.ip_data.ip, in_kernel); in CreateSample()
196 uint64_t ip, bool in_kernel, in CreateCallChainSample() argument
199 const MapEntry* map = thread_tree_->FindMap(thread, ip, in_kernel); in CreateCallChainSample()
Dreport_lib_interface.cpp42 uint32_t in_kernel; member
265 current_sample_.in_kernel = r.InKernel(); in SetCurrentSample()
Dthread_tree.cpp279 const MapEntry* ThreadTree::FindMap(const ThreadEntry* thread, uint64_t ip, bool in_kernel) { in FindMap() argument
281 if (!in_kernel) { in FindMap()
DETMDecoder.cpp274 if (!map->in_kernel) { in ReadTargetMemory()