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

Commit af67f6e8 authored by Yi Kong's avatar Yi Kong
Browse files

profcollect: Raise Dex2oat trace frequency to 75%.

The number of traces coming from dex2oat is very low. Raise it from 25%
to 75%.

Test: presubmit
Flag: EXEMPT, not flagged
Change-Id: I6cd1410bab785ee7c6c6e69437967ed35baa0bfb
parent 66d52eae
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -391,7 +391,7 @@ public final class ProfcollectForwardingService extends SystemService {
    }

    private void traceOnDex2oatStart() {
        if (Utils.withFrequency("dex2oat_trace_freq", 25)) {
        if (Utils.withFrequency("dex2oat_trace_freq", 75)) {
            // Dex2oat could take a while before it starts. Add a short delay before start tracing.
            Utils.traceSystem(sIProfcollect, "dex2oat", /* delayMs */ 1000);
        }