Move ABI: line below header when dumping stacks.
Bug: 17474152 Change-Id: I66b6e7e1cbb004f7a1915a2c1515df6555fe176f
This commit is contained in:
parent
69052994fd
commit
9b12d53b1a
1 changed files with 2 additions and 2 deletions
|
@ -49,13 +49,13 @@ static void dump_process_header(log_t* log, pid_t pid) {
|
|||
struct tm tm;
|
||||
localtime_r(&t, &tm);
|
||||
char timestr[64];
|
||||
_LOG(log, logtype::BACKTRACE, "\n\nABI: '%s'\n", ABI_STRING);
|
||||
strftime(timestr, sizeof(timestr), "%F %T", &tm);
|
||||
_LOG(log, logtype::BACKTRACE, "\n----- pid %d at %s -----\n", pid, timestr);
|
||||
_LOG(log, logtype::BACKTRACE, "\n\n----- pid %d at %s -----\n", pid, timestr);
|
||||
|
||||
if (procname) {
|
||||
_LOG(log, logtype::BACKTRACE, "Cmd line: %s\n", procname);
|
||||
}
|
||||
_LOG(log, logtype::BACKTRACE, "ABI: '%s'\n", ABI_STRING);
|
||||
}
|
||||
|
||||
static void dump_process_footer(log_t* log, pid_t pid) {
|
||||
|
|
Loading…
Reference in a new issue