Home
last modified time | relevance | path

Searched refs:tid_data (Results 1 – 11 of 11) sorted by relevance

/system/extras/simpleperf/
Drecord_equal_test.h39 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()
Dcmd_debug_unwind.cpp235 ThreadEntry* thread = thread_tree_.FindThreadOrNew(r.tid_data.pid, r.tid_data.tid); in ProcessRecord()
259 if (!callchain_joiner_.AddCallChain(r.tid_data.pid, r.tid_data.tid, in ProcessRecord()
273 const ThreadEntry* thread = thread_tree_.FindThreadOrNew(r.tid_data.pid, r.tid_data.tid); in CollectHitFileInfo()
334 CHECK_EQ(pid, static_cast<pid_t>(sr.tid_data.pid)); in JoinCallChains()
335 CHECK_EQ(tid, static_cast<pid_t>(sr.tid_data.tid)); in JoinCallChains()
Dreport_lib_interface.cpp260 auto it = next_sample_cache_.find(r->tid_data.tid); in GetNextSample()
262 next_sample_cache_[r->tid_data.tid].reset(r); in GetNextSample()
286 current_sample_.pid = r.tid_data.pid; in SetCurrentSample()
287 current_sample_.tid = r.tid_data.tid; in SetCurrentSample()
288 current_thread_ = thread_tree_.FindThreadOrNew(r.tid_data.pid, r.tid_data.tid); in SetCurrentSample()
294 uint64_t next_time = std::max(next_sample_cache_[r.tid_data.tid]->time_data.time, in SetCurrentSample()
Dcmd_report_sample.cpp503 const ThreadEntry* thread = thread_tree_.FindThreadOrNew(r.tid_data.pid, r.tid_data.tid); in ProcessSampleRecord()
539 sample->set_thread_id(r.tid_data.tid); in PrintSampleRecordInProtobuf()
674 FprintIndented(report_fp_, 1, "thread_id: %d\n", r.tid_data.tid); in PrintSampleRecord()
675 const char* thread_name = thread_tree_.FindThreadOrNew(r.tid_data.pid, r.tid_data.tid)->comm; in PrintSampleRecord()
Dcmd_record.cpp1229 pid_t pid = static_cast<SampleRecord*>(record)->tid_data.pid; in DumpMapsForRecord()
1414 thread_tree_.FindThreadOrNew(r.tid_data.pid, r.tid_data.tid); in UnwindRecord()
1426 jit_debug_reader_->ReadProcess(r.tid_data.pid); in UnwindRecord()
1435 return callchain_joiner_->AddCallChain(r.tid_data.pid, r.tid_data.tid, in UnwindRecord()
1510 CHECK_EQ(pid, static_cast<pid_t>(sr.tid_data.pid)); in JoinCallChains()
1511 CHECK_EQ(tid, static_cast<pid_t>(sr.tid_data.tid)); in JoinCallChains()
1661 thread_tree_.FindThreadOrNew(r.tid_data.pid, r.tid_data.tid); in CollectHitFileInfo()
Drecord.cpp86 MoveFromBinaryFormat(tid_data, p); in ReadFromBinaryFormat()
113 MoveToBinaryFormat(tid_data, p); in WriteToBinaryFormat()
133 PrintIndented(indent, "sample_id: pid %u, tid %u\n", tid_data.pid, in Dump()
134 tid_data.tid); in Dump()
436 MoveFromBinaryFormat(tid_data, p); in SampleRecord()
512 tid_data.pid = pid; in SampleRecord()
513 tid_data.tid = tid; in SampleRecord()
533 size += sizeof(tid_data); in SampleRecord()
565 MoveToBinaryFormat(tid_data, p); in SampleRecord()
728 PrintIndented(indent, "pid %u, tid %u\n", tid_data.pid, tid_data.tid); in DumpData()
Dcmd_report.cpp152 thread_tree_->FindThreadOrNew(r.tid_data.pid, r.tid_data.tid); in CreateSample()
167 thread_tree_->FindThreadOrNew(r.tid_data.pid, r.tid_data.tid); in CreateBranchSample()
284 pid_t tid = static_cast<pid_t>(r->tid_data.tid); in ReportCmdProcessSampleRecord()
297 auto it = next_sample_cache_.find(r.tid_data.tid); in GetPeriod()
Dcmd_trace_sched.cpp258 ThreadInfo& thread = thread_map_[record.tid_data.tid]; in ProcessSampleRecord()
259 thread.process_id = record.tid_data.pid; in ProcessSampleRecord()
260 thread.thread_id = record.tid_data.tid; in ProcessSampleRecord()
Dcmd_dumprecord.cpp197 get_symbol_function(sr.tid_data.pid, sr.tid_data.tid, sr.callchain_data.ips[i], in DumpDataSection()
DJITDebugReader.cpp167 auto it = pids_with_art_lib_.find(r->tid_data.pid); in UpdateRecord()
170 if (!MonitorProcess(r->tid_data.pid)) { in UpdateRecord()
173 return ReadProcess(r->tid_data.pid); in UpdateRecord()
Drecord.h184 PerfSampleTidType tid_data; // Valid if sample_id_all && PERF_SAMPLE_TID. member
380 PerfSampleTidType tid_data; // Valid if PERF_SAMPLE_TID. member