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

Commit b13662c8 authored by Steven Moreland's avatar Steven Moreland
Browse files

libbinder: also log flags for long transactions

Bug: N/A
Test: N/A
Flag: EXEMPT .
Change-Id: I8ff069305c20b6644bd318629107b9fe68629b30
parent 5ae553fc
Loading
Loading
Loading
Loading
+2 −2
Original line number 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);
    if (transactionMs > 1000lu) {
        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(),
              reply ? reply->dataSize() : 0u);
              reply ? reply->dataSize() : 0u, flags);
    }

    return err;