/system/extras/simpleperf/ |
D | thread_tree.h | 45 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);
|
D | sample_tree.h | 93 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,
|
D | cmd_monitor.cpp | 167 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()
|
D | thread_tree_test.cpp | 69 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()
|
D | cmd_dumprecord.cpp | 203 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()
|
D | sample_tree_test.cpp | 65 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()
|
D | record.cpp | 224 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 …]
|
D | cmd_kmem.cpp | 138 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()
|
D | record.h | 282 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);
|
D | cmd_report.cpp | 166 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()
|
D | report_lib_interface.cpp | 42 uint32_t in_kernel; member 265 current_sample_.in_kernel = r.InKernel(); in SetCurrentSample()
|
D | thread_tree.cpp | 279 const MapEntry* ThreadTree::FindMap(const ThreadEntry* thread, uint64_t ip, bool in_kernel) { in FindMap() argument 281 if (!in_kernel) { in FindMap()
|
D | ETMDecoder.cpp | 274 if (!map->in_kernel) { in ReadTargetMemory()
|