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

Commit aece2afa 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

Change-Id: I82e5974f96a2a617d31a63813dac22035532c59b
parents 63a869d2 ea3784b6
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 {