Fixing debuggerd header output.
PID and TID output line was missing. Change-Id: I609af5727bc22ea0b97f3975ddb3cf0102910bc2
This commit is contained in:
parent
2e8290463e
commit
f473200d35
1 changed files with 2 additions and 3 deletions
|
@ -235,7 +235,7 @@ static void dump_thread_info(log_t* log, pid_t pid, pid_t tid) {
|
|||
fclose(fp);
|
||||
}
|
||||
|
||||
_LOG(log, logtype::THREAD, "pid: %d, tid: %d, name: %s >>> %s <<<\n", pid, tid,
|
||||
_LOG(log, logtype::HEADER, "pid: %d, tid: %d, name: %s >>> %s <<<\n", pid, tid,
|
||||
threadname ? threadname : "UNKNOWN", procname ? procname : "UNKNOWN");
|
||||
}
|
||||
|
||||
|
@ -429,11 +429,10 @@ static bool dump_sibling_thread_report(
|
|||
continue;
|
||||
}
|
||||
|
||||
log->current_tid = new_tid;
|
||||
_LOG(log, logtype::THREAD, "--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---\n");
|
||||
dump_thread_info(log, pid, new_tid);
|
||||
|
||||
log->current_tid = new_tid;
|
||||
|
||||
UniquePtr<Backtrace> backtrace(Backtrace::Create(pid, new_tid, map));
|
||||
if (backtrace->Unwind(0)) {
|
||||
dump_thread(backtrace.get(), log, total_sleep_time_usec);
|
||||
|
|
Loading…
Reference in a new issue