Searched refs:thread_id (Results 1 – 9 of 9) sorted by relevance
/system/extras/memory_replay/tests/ |
D | ThreadTest.cpp | 54 pthread_t thread_id; in TEST() local 55 ASSERT_TRUE(pthread_create(&thread_id, nullptr, ThreadWaitForReady, &thread_data) == 0); in TEST() 62 ASSERT_TRUE(pthread_join(thread_id, nullptr) == 0); in TEST() 82 pthread_t thread_id; in TEST() local 83 ASSERT_TRUE(pthread_create(&thread_id, nullptr, ThreadWaitForPending, &thread_data) == 0); in TEST() 90 ASSERT_TRUE(pthread_join(thread_id, nullptr) == 0); in TEST()
|
/system/extras/simpleperf/ |
D | cmd_report_sample.cpp | 143 size_t operator()(const ThreadId& thread_id) const noexcept { in operator ()() 145 HashCombine(seed, thread_id.pid); in operator ()() 146 HashCombine(seed, thread_id.tid); in operator ()() 211 bool ReportSample(const ThreadId& thread_id, const SampleEntry& sample, size_t stack_gap_length); 213 bool PrintSampleInProtobuf(const ThreadId& thread_id, const SampleEntry& sample); 221 bool PrintSample(const ThreadId& thread_id, const SampleEntry& sample); 449 FprintIndented(report_fp_, 1, "thread_id: %d\n", sample.thread_id()); in DumpProtobufReport() 504 FprintIndented(report_fp_, 1, "thread_id: %u\n", thread.thread_id()); in DumpProtobufReport() 538 FprintIndented(report_fp_, 1, "thread_id: %u\n", context_switch.thread_id()); in DumpProtobufReport() 735 ThreadId thread_id(thread.pid, thread.tid); in ProcessSample() local [all …]
|
D | cmd_trace_sched.cpp | 58 pid_t thread_id = 0; member 216 thread.thread_id = r.data->tid; in ProcessRecord() 225 parent_thread.thread_id = r.data->ptid; in ProcessRecord() 227 child_thread.thread_id = r.data->tid; in ProcessRecord() 257 thread.thread_id = record.tid_data.tid; in ProcessSampleRecord() 304 if (thread.process_id == thread.thread_id) { in BuildProcessInfo() 361 entry.pid = thread->thread_id; in ReportProcessInfo() 410 thread->name.c_str(), thread->thread_id, in ReportProcessInfo()
|
D | cmd_report_sample.proto | 38 optional int32 thread_id = 2; field 130 optional uint32 thread_id = 1; field 153 optional uint32 thread_id = 3; field
|
D | event_selection_set.cpp | 81 std::atomic<pid_t> thread_id(0); in IsDumpingRegsForTracepointEventsSupported() local 83 thread_id = gettid(); in IsDumpingRegsForTracepointEventsSupported() 89 while (thread_id == 0) { in IsDumpingRegsForTracepointEventsSupported() 96 EventFd::OpenEventFile(attr, thread_id, -1, nullptr, event_type->name); in IsDumpingRegsForTracepointEventsSupported()
|
/system/nfc/src/gki/ulinux/ |
D | gki_ulinux.cc | 83 pthread_t thread_id = pthread_self(); in gki_task_entry() local 87 p_pthread_info->task_id, gki_cb.os.thread_id[p_pthread_info->task_id], in gki_task_entry() 90 gki_cb.os.thread_id[p_pthread_info->task_id] = thread_id; in gki_task_entry() 96 gki_cb.os.thread_id[p_pthread_info->task_id] = 0; in gki_task_entry() 230 ret = pthread_create(&gki_cb.os.thread_id[task_id], &attr1, gki_task_entry, in GKI_create_task() 238 if (pthread_getschedparam(gki_cb.os.thread_id[task_id], &policy, ¶m) == in GKI_create_task() 250 pthread_setschedparam(gki_cb.os.thread_id[task_id], policy, ¶m); in GKI_create_task() 254 task_entry, task_id, gki_cb.os.thread_id[task_id], in GKI_create_task() 308 result = pthread_join(gki_cb.os.thread_id[task_id - 1], NULL); in GKI_shutdown() 636 gki_cb.os.thread_id[rtask] = 0; in GKI_wait() [all …]
|
D | gki_int.h | 34 pthread_t thread_id[GKI_MAX_TASKS]; member
|
/system/extras/simpleperf/scripts/ |
D | simpleperf_report_lib.py | 631 self.thread_map[record.thread.thread_id] = record.thread 718 if prev_offcpu_sample := self.offcpu_samples.get(sample.thread_id): 724 self.offcpu_samples[sample.thread_id] = sample 726 self.offcpu_samples[sample.thread_id] = None 733 if prev_offcpu_sample := self.offcpu_samples.get(context_switch.thread_id): 735 self.offcpu_samples[context_switch.thread_id] = None 745 thread = self.thread_map[sample.thread_id] 747 ip=0, pid=thread.process_id, tid=thread.thread_id, thread_comm=thread.thread_name,
|
/system/nfc/src/fuzzers/nci/ |
D | nci.cc | 56 gki_cb.os.thread_id[NFC_TASK] = pthread_self(); in Fuzz_Init()
|