Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c3e6eb21 authored by Jeff Brown's avatar Jeff Brown Committed by Android (Google) Code Review
Browse files

Merge "Move ABI: line below header when dumping stacks." into lmp-dev

parents fcfa8640 9b12d53b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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) {