/system/core/debuggerd/libdebuggerd/ |
H A D | backtrace.cpp | 59 static void log_thread_name(log_t* log, pid_t tid, const char* thread_name) { argument 60 _LOG(log, logtype::BACKTRACE, "\n\"%s\" sysTid=%d\n", thread_name, tid); 64 const std::string& thread_name) { 65 log_thread_name(log, tid, thread_name.c_str()); 87 const std::string& thread_name = it.second; local 89 dump_thread(&log, map, pid, thread_tid, thread_name.c_str()); 104 char thread_name[16]; local 105 read_with_default("/proc/self/comm", thread_name, sizeof(thread_name), "<unknown>"); 106 log_thread_name(&log, tid, thread_name); 63 dump_thread(log_t* log, BacktraceMap* map, pid_t pid, pid_t tid, const std::string& thread_name) argument [all...] |
H A D | tombstone.cpp | 273 const char* thread_name) { 276 if (strcmp(thread_name, "logd") == 0 || strncmp(thread_name, "logd.", 4) == 0) { 280 _LOG(log, logtype::HEADER, "pid: %d, tid: %d, name: %s >>> %s <<<\n", pid, tid, thread_name, 501 const std::string& thread_name, BacktraceMap* map, 507 dump_thread_info(log, pid, tid, process_name.c_str(), thread_name.c_str()); 680 const std::string& thread_name = it.second; local 683 dump_thread(log, pid, thread_tid, process_name, thread_name, map, 0, false); 773 char thread_name[16]; local 776 read_with_default("/proc/self/comm", thread_name, sizeo 272 dump_thread_info(log_t* log, pid_t pid, pid_t tid, const char* process_name, const char* thread_name) argument 500 dump_thread(log_t* log, pid_t pid, pid_t tid, const std::string& process_name, const std::string& thread_name, BacktraceMap* map, uintptr_t abort_msg_address, bool primary_thread) argument [all...] |
/system/bt/osi/test/ |
H A D | thread_test.cc | 26 ASSERT_STREQ(thread_name(thread), "test_name"); 32 ASSERT_STREQ("0123456789abcdef", thread_name(thread)); 38 ASSERT_STREQ("0123456789abcdef", thread_name(thread));
|
/system/bt/osi/include/ |
H A D | thread.h | 58 // Requests |thread| to stop. Only |thread_free| and |thread_name| may be called 84 const char* thread_name(const thread_t* thread);
|
/system/core/libcutils/ |
H A D | sched_policy.cpp | 368 char thread_name[255]; local 371 memset(thread_name, 0, sizeof(thread_name)); 385 strncpy(thread_name, p, (q-p)); 389 SLOGD("vvv tid %d (%s)", tid, thread_name); 395 SLOGD("^^^ tid %d (%s)", tid, thread_name); 398 SLOGD("/// tid %d (%s)", tid, thread_name); 401 SLOGD("RT tid %d (%s)", tid, thread_name); 404 SLOGD("??? tid %d (%s)", tid, thread_name);
|
/system/core/debuggerd/handler/ |
H A D | debuggerd_handler.cpp | 149 char thread_name[MAX_TASK_NAME_LEN + 1]; // one more for termination local 150 if (prctl(PR_GET_NAME, reinterpret_cast<unsigned long>(thread_name), 0, 0, 0) != 0) { 151 strcpy(thread_name, "<name unknown>"); 155 thread_name[MAX_TASK_NAME_LEN] = 0; 160 thread_name); 218 signal_name, code_desc, addr_desc, __gettid(), thread_name, __getpid(), main_thread_name);
|
/system/bt/osi/src/ |
H A D | thread.cc | 189 const char* thread_name(const thread_t* thread) { function
|
/system/extras/simpleperf/ |
H A D | cmd_report_sample.cpp | 326 FprintIndented(report_fp_, 1, "thread_name: %s\n", thread.thread_name().c_str());
|