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

Commit d71e7034 authored by Kevin Jeon's avatar Kevin Jeon Committed by Automerger Merge Worker
Browse files

Merge "Reduce debuggerd backtrace timeouts in dumpstate" am: ba9df0b0 am: 3679cafb

parents 8008b4de 3679cafb
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -2229,8 +2229,7 @@ Dumpstate::RunStatus Dumpstate::DumpTraces(const char** path) {


        const uint64_t start = Nanotime();
        const uint64_t start = Nanotime();
        const int ret = dump_backtrace_to_file_timeout(
        const int ret = dump_backtrace_to_file_timeout(
            pid, is_java_process ? kDebuggerdJavaBacktrace : kDebuggerdNativeBacktrace,
            pid, is_java_process ? kDebuggerdJavaBacktrace : kDebuggerdNativeBacktrace, 3, fd);
            is_java_process ? 5 : 20, fd);


        if (ret == -1) {
        if (ret == -1) {
            // For consistency, the header and footer to this message match those
            // For consistency, the header and footer to this message match those