Searched refs:tid_data (Results 1 – 13 of 13) sorted by relevance
/system/extras/simpleperf/ |
D | record_equal_test.h | 39 EXPECT_EQ(r1.tid_data.pid, r2.tid_data.pid); in CheckSampleRecordDataEqual() 40 EXPECT_EQ(r1.tid_data.tid, r2.tid_data.tid); in CheckSampleRecordDataEqual()
|
D | cmd_debug_unwind.cpp | 236 ThreadEntry* thread = thread_tree_.FindThreadOrNew(r.tid_data.pid, r.tid_data.tid); in ProcessRecord() 260 if (!callchain_joiner_.AddCallChain(r.tid_data.pid, r.tid_data.tid, in ProcessRecord() 274 const ThreadEntry* thread = thread_tree_.FindThreadOrNew(r.tid_data.pid, r.tid_data.tid); in CollectHitFileInfo() 335 CHECK_EQ(pid, static_cast<pid_t>(sr.tid_data.pid)); in JoinCallChains() 336 CHECK_EQ(tid, static_cast<pid_t>(sr.tid_data.tid)); in JoinCallChains()
|
D | report_lib_interface.cpp | 264 auto it = next_sample_cache_.find(r->tid_data.tid); in GetNextSample() 266 next_sample_cache_[r->tid_data.tid].reset(r); in GetNextSample() 290 current_sample_.pid = r.tid_data.pid; in SetCurrentSample() 291 current_sample_.tid = r.tid_data.tid; in SetCurrentSample() 292 current_thread_ = thread_tree_.FindThreadOrNew(r.tid_data.pid, r.tid_data.tid); in SetCurrentSample() 298 uint64_t next_time = std::max(next_sample_cache_[r.tid_data.tid]->time_data.time, in SetCurrentSample()
|
D | cmd_report_sample.cpp | 497 const ThreadEntry* thread = thread_tree_.FindThreadOrNew(r.tid_data.pid, r.tid_data.tid); in ProcessSampleRecord() 522 uint64_t key = (static_cast<uint64_t>(r.tid_data.pid) << 32) | r.tid_data.tid; in ProcessSampleRecord() 535 sample->set_thread_id(r.tid_data.tid); in PrintSampleRecordInProtobuf() 667 FprintIndented(report_fp_, 1, "thread_id: %d\n", r.tid_data.tid); in PrintSampleRecord() 668 const char* thread_name = thread_tree_.FindThreadOrNew(r.tid_data.pid, r.tid_data.tid)->comm; in PrintSampleRecord()
|
D | record.cpp | 89 MoveFromBinaryFormat(tid_data, p); in ReadFromBinaryFormat() 116 MoveToBinaryFormat(tid_data, p); in WriteToBinaryFormat() 136 PrintIndented(indent, "sample_id: pid %u, tid %u\n", tid_data.pid, in Dump() 137 tid_data.tid); in Dump() 439 MoveFromBinaryFormat(tid_data, p); in SampleRecord() 515 tid_data.pid = pid; in SampleRecord() 516 tid_data.tid = tid; in SampleRecord() 536 size += sizeof(tid_data); in SampleRecord() 568 MoveToBinaryFormat(tid_data, p); in SampleRecord() 731 PrintIndented(indent, "pid %u, tid %u\n", tid_data.pid, tid_data.tid); in DumpData()
|
D | cmd_record.cpp | 1336 pid_t pid = static_cast<SampleRecord*>(record)->tid_data.pid; in DumpMapsForRecord() 1531 thread_tree_.FindThreadOrNew(r.tid_data.pid, r.tid_data.tid); in UnwindRecord() 1543 jit_debug_reader_->ReadProcess(r.tid_data.pid); in UnwindRecord() 1552 return callchain_joiner_->AddCallChain(r.tid_data.pid, r.tid_data.tid, in UnwindRecord() 1627 CHECK_EQ(pid, static_cast<pid_t>(sr.tid_data.pid)); in JoinCallChains() 1628 CHECK_EQ(tid, static_cast<pid_t>(sr.tid_data.tid)); in JoinCallChains() 1793 thread_tree_.FindThreadOrNew(r.tid_data.pid, r.tid_data.tid); in CollectHitFileInfo()
|
D | cmd_report.cpp | 164 thread_tree_->FindThreadOrNew(r.tid_data.pid, r.tid_data.tid); in CreateSample() 179 thread_tree_->FindThreadOrNew(r.tid_data.pid, r.tid_data.tid); in CreateBranchSample() 297 pid_t tid = static_cast<pid_t>(r->tid_data.tid); in ReportCmdProcessSampleRecord() 310 auto it = next_sample_cache_.find(r.tid_data.tid); in GetPeriod()
|
D | cmd_trace_sched.cpp | 248 ThreadInfo& thread = thread_map_[record.tid_data.tid]; in ProcessSampleRecord() 249 thread.process_id = record.tid_data.pid; in ProcessSampleRecord() 250 thread.thread_id = record.tid_data.tid; in ProcessSampleRecord()
|
D | JITDebugReader.cpp | 308 auto it = pids_with_art_lib_.find(r->tid_data.pid); in UpdateRecord() 311 if (!MonitorProcess(r->tid_data.pid)) { in UpdateRecord() 314 return ReadProcess(r->tid_data.pid); in UpdateRecord()
|
D | cmd_dumprecord.cpp | 329 GetSymbolInfo(sr.tid_data.pid, sr.tid_data.tid, sr.callchain_data.ips[i], in_kernel); in ProcessSampleRecord()
|
D | record.h | 187 PerfSampleTidType tid_data; // Valid if sample_id_all && PERF_SAMPLE_TID. member 383 PerfSampleTidType tid_data; // Valid if PERF_SAMPLE_TID. member
|
D | RecordReadThread_test.cpp | 106 ASSERT_EQ(sr->tid_data.pid, pid); in TEST()
|
D | cmd_record_test.cpp | 1079 if (static_cast<SampleRecord*>(r.get())->tid_data.pid == perf_pid) { in TEST()
|