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

Commit 77f1357b authored by Narayan Kamath's avatar Narayan Kamath Committed by android-build-merger
Browse files

Merge "dumpstate: Track debuggerd API changes." am: ccc5db44 am: 62b9a75c am: ea3784b6

am: aece2afa

Change-Id: I4c7780e8f1bcea90a41d0b5b720292602caa8d55
parents 9eb66973 aece2afa
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -973,7 +973,8 @@ const char *dump_traces() {
                /* If 3 backtrace dumps fail in a row, consider debuggerd dead. */
                if (timeout_failures == 3) {
                    dprintf(fd, "too many stack dump failures, skipping...\n");
                } else if (dump_backtrace_to_file_timeout(pid, fd, 20) == -1) {
                } else if (dump_backtrace_to_file_timeout(
                        pid, kDebuggerdNativeBacktrace, 20, fd) == -1) {
                    dprintf(fd, "dumping failed, likely due to a timeout\n");
                    timeout_failures++;
                } else {