/system/extras/simpleperf/ |
D | RecordFilter.cpp | 105 if (condition.pids.count(r->tid_data.pid) == 1) { in CheckCondition() 108 if (condition.tids.count(r->tid_data.tid) == 1) { in CheckCondition() 112 if (ThreadEntry* process = thread_tree_.FindThread(r->tid_data.pid); process != nullptr) { in CheckCondition() 119 if (ThreadEntry* thread = thread_tree_.FindThread(r->tid_data.tid); thread != nullptr) { in CheckCondition() 126 if (auto uid_value = GetUidForProcess(r->tid_data.pid); uid_value) { in CheckCondition()
|
D | record_equal_test.h | 41 EXPECT_EQ(r1.tid_data.pid, r2.tid_data.pid); in CheckSampleRecordDataEqual() 42 EXPECT_EQ(r1.tid_data.tid, r2.tid_data.tid); in CheckSampleRecordDataEqual()
|
D | cmd_monitor.cpp | 534 SymbolInfo s = GetSymbolInfo(sr.tid_data.pid, sr.tid_data.tid, sr.ip_data.ip, sr.InKernel()); in DumpSampleRecord() 537 StringAppendF(&output, " pid=%u tid=%u", sr.tid_data.pid, sr.tid_data.tid); in DumpSampleRecord() 554 GetSymbolInfo(sr.tid_data.pid, sr.tid_data.tid, sr.callchain_data.ips[i], in_kernel); in DumpSampleCallchain() 574 pid_t pid = static_cast<SampleRecord*>(record)->tid_data.pid; in DumpMapsForRecord() 602 ThreadEntry* thread = thread_tree_.FindThreadOrNew(r.tid_data.pid, r.tid_data.tid); in UnwindRecord()
|
D | report_lib_interface.cpp | 234 auto it = next_sample_cache_.find(r->tid_data.tid); in GetNextSample() 236 next_sample_cache_[r->tid_data.tid].reset(r); in GetNextSample() 260 current_sample_.pid = r.tid_data.pid; in SetCurrentSample() 261 current_sample_.tid = r.tid_data.tid; in SetCurrentSample() 262 current_thread_ = thread_tree_.FindThreadOrNew(r.tid_data.pid, r.tid_data.tid); in SetCurrentSample() 269 std::max(next_sample_cache_[r.tid_data.tid]->time_data.time, r.time_data.time + 1); in SetCurrentSample()
|
D | cmd_report_sample.cpp | 561 const ThreadEntry* thread = thread_tree_.FindThreadOrNew(r.tid_data.pid, r.tid_data.tid); in ProcessSampleRecord() 572 uint64_t key = (static_cast<uint64_t>(r.tid_data.pid) << 32) | r.tid_data.tid; in ProcessSampleRecord() 585 sample->set_thread_id(r.tid_data.tid); in PrintSampleRecordInProtobuf() 760 FprintIndented(report_fp_, 1, "thread_id: %d\n", r.tid_data.tid); in PrintSampleRecord() 761 const char* thread_name = thread_tree_.FindThreadOrNew(r.tid_data.pid, r.tid_data.tid)->comm; in PrintSampleRecord()
|
D | cmd_debug_unwind.cpp | 276 ThreadEntry* thread = thread_tree_.FindThreadOrNew(r.tid_data.pid, r.tid_data.tid); in UnwindRecord() 387 ThreadEntry* thread = thread_tree_.FindThread(r.tid_data.tid); in WriteMapsForSample() 397 Mmap2Record map_record(*attr, false, r.tid_data.pid, r.tid_data.tid, map->start_addr, in WriteMapsForSample() 524 ThreadEntry* thread = thread_tree_.FindThreadOrNew(sr.tid_data.pid, sr.tid_data.tid); in ReportUnwindingResult()
|
D | RecordFilter_test.cpp | 41 record->tid_data.pid = pid; in GetRecord() 42 record->tid_data.tid = tid; in GetRecord()
|
D | cmd_record.cpp | 1384 pid_t pid = static_cast<SampleRecord*>(record)->tid_data.pid; in DumpMapsForRecord() 1574 ThreadEntry* thread = thread_tree_.FindThreadOrNew(r.tid_data.pid, r.tid_data.tid); in UnwindRecord() 1586 jit_debug_reader_->ReadProcess(r.tid_data.pid); in UnwindRecord() 1598 !callchain_joiner_->AddCallChain(r.tid_data.pid, r.tid_data.tid, in UnwindRecord() 1722 CHECK_EQ(pid, static_cast<pid_t>(sr.tid_data.pid)); in JoinCallChains() 1723 CHECK_EQ(tid, static_cast<pid_t>(sr.tid_data.tid)); in JoinCallChains() 1764 if (loaded_symbol_maps.insert(sample->tid_data.pid).second) { in DumpAdditionalFeatures() 1765 LoadSymbolMapFile(sample->tid_data.pid, app_package_name_, &thread_tree_); in DumpAdditionalFeatures() 1966 const ThreadEntry* thread = thread_tree_.FindThreadOrNew(r.tid_data.pid, r.tid_data.tid); in CollectHitFileInfo()
|
D | cmd_trace_sched.cpp | 251 ThreadInfo& thread = thread_map_[record.tid_data.tid]; in ProcessSampleRecord() 252 thread.process_id = record.tid_data.pid; in ProcessSampleRecord() 253 thread.thread_id = record.tid_data.tid; in ProcessSampleRecord()
|
D | record.cpp | 90 MoveFromBinaryFormat(tid_data, p); in ReadFromBinaryFormat() 117 MoveToBinaryFormat(tid_data, p); in WriteToBinaryFormat() 137 PrintIndented(indent, "sample_id: pid %u, tid %u\n", tid_data.pid, tid_data.tid); in Dump() 429 MoveFromBinaryFormat(tid_data, p); in SampleRecord() 504 tid_data.pid = pid; in SampleRecord() 505 tid_data.tid = tid; in SampleRecord() 525 size += sizeof(tid_data); in SampleRecord() 557 MoveToBinaryFormat(tid_data, p); in SampleRecord() 720 PrintIndented(indent, "pid %u, tid %u\n", tid_data.pid, tid_data.tid); in DumpData()
|
D | cmd_report.cpp | 167 const ThreadEntry* thread = thread_tree_->FindThreadOrNew(r.tid_data.pid, r.tid_data.tid); in CreateSample() 178 const ThreadEntry* thread = thread_tree_->FindThreadOrNew(r.tid_data.pid, r.tid_data.tid); in CreateBranchSample() 288 pid_t tid = static_cast<pid_t>(r->tid_data.tid); in ReportCmdProcessSampleRecord() 301 auto it = next_sample_cache_.find(r.tid_data.tid); in GetPeriod()
|
D | JITDebugReader.cpp | 304 auto it = pids_with_art_lib_.find(r->tid_data.pid); in UpdateRecord() 307 if (!MonitorProcess(r->tid_data.pid)) { in UpdateRecord() 310 return ReadProcess(r->tid_data.pid); in UpdateRecord()
|
D | cmd_dumprecord.cpp | 381 GetSymbolInfo(sr.tid_data.pid, sr.tid_data.tid, sr.callchain_data.ips[i], in_kernel); in ProcessSampleRecord()
|
D | record.h | 188 PerfSampleTidType tid_data; // Valid if sample_id_all && PERF_SAMPLE_TID. member 378 PerfSampleTidType tid_data; // Valid if PERF_SAMPLE_TID. member
|
D | cmd_record_test.cpp | 876 ThreadEntry* thread = thread_tree.FindThreadOrNew(sample->tid_data.pid, sample->tid_data.tid); in TEST() 1043 if (static_cast<SampleRecord*>(r.get())->tid_data.pid == perf_pid) { in TEST()
|
D | RecordReadThread_test.cpp | 106 ASSERT_EQ(sr->tid_data.pid, pid); in TEST()
|