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

Commit 3c4b42b3 authored by Steven Moreland's avatar Steven Moreland Committed by Android (Google) Code Review
Browse files

Merge "libbinder: also log flags for long transactions" into main

parents 5e4c72ad b13662c8
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -444,9 +444,9 @@ status_t BBinder::transact(
    const uint64_t transactionMs = to_ms(std::chrono::steady_clock::now() - startTime);
    const uint64_t transactionMs = to_ms(std::chrono::steady_clock::now() - startTime);
    if (transactionMs > 1000lu) {
    if (transactionMs > 1000lu) {
        ALOGW("Binder transaction to %s code %" PRIu32 " took %" PRIu64
        ALOGW("Binder transaction to %s code %" PRIu32 " took %" PRIu64
              "ms. Data size: %zu. Reply size: %zu.",
              "ms. Data bytes: %zu Reply bytes: %zu Flags: %d",
              String8(getInterfaceDescriptor()).c_str(), code, transactionMs, data.dataSize(),
              String8(getInterfaceDescriptor()).c_str(), code, transactionMs, data.dataSize(),
              reply ? reply->dataSize() : 0u);
              reply ? reply->dataSize() : 0u, flags);
    }
    }


    return err;
    return err;