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

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

Change-Id: Id1320f3373a4bbcdcfd945ea9299bd8a805adc12
parents 479f9d0c 62b9a75c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1087,7 +1087,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 {