Searched refs:threadname (Results 1 – 2 of 2) sorted by relevance
/system/core/debuggerd/ |
D | backtrace.cpp | 74 char* threadname = NULL; in dump_thread() local 79 threadname = fgets(threadnamebuf, sizeof(threadnamebuf), fp); in dump_thread() 81 if (threadname) { in dump_thread() 82 size_t len = strlen(threadname); in dump_thread() 83 if (len && threadname[len - 1] == '\n') { in dump_thread() 84 threadname[len - 1] = '\0'; in dump_thread() 89 _LOG(log, logtype::BACKTRACE, "\n\"%s\" sysTid=%d\n", threadname ? threadname : "<unknown>", tid); in dump_thread()
|
D | tombstone.cpp | 204 char* threadname = nullptr; in dump_thread_info() local 209 threadname = fgets(threadnamebuf, sizeof(threadnamebuf), fp); in dump_thread_info() 211 if (threadname) { in dump_thread_info() 212 size_t len = strlen(threadname); in dump_thread_info() 213 if (len && threadname[len - 1] == '\n') { in dump_thread_info() 214 threadname[len - 1] = '\0'; in dump_thread_info() 220 if (threadname != nullptr && !strncmp(threadname, logd, sizeof(logd) - 1) in dump_thread_info() 221 && (!threadname[sizeof(logd) - 1] || (threadname[sizeof(logd) - 1] == '.'))) { in dump_thread_info() 235 threadname ? threadname : "UNKNOWN", procname ? procname : "UNKNOWN"); in dump_thread_info()
|