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

Commit 7ef5b0ef authored by Andy Labrada's avatar Andy Labrada Committed by Android (Google) Code Review
Browse files

Merge "SurfaceFlingerPerfTests: Add arguments to simpleperf listener"

parents f4b7cd0d 073fe996
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -52,12 +52,20 @@
        <!-- PerfettoListener related arguments -->
        <option name="instrumentation-arg" key="perfetto_config_text_proto" value="true" />
        <option name="instrumentation-arg" key="perfetto_config_file" value="trace_config.textproto" />

        <!-- SimpleperfListener related arguments -->
        <option name="instrumentation-arg" key="report" value="true" />
        <option name="instrumentation-arg" key="arguments" value="&quot;&quot;" />
        <option name="instrumentation-arg" key="events_to_record" value="instructions,cpu-cycles,raw-l3d-cache-refill,sched:sched_waking" />
        <option name="instrumentation-arg" key="processes_to_record" value="surfaceflinger" />
        <option name="instrumentation-arg" key="symbols_to_report" value="&quot;android::SurfaceFlinger::commit(long, long, long)&quot;" />
    </test>

    <metrics_collector class="com.android.tradefed.device.metric.FilePullerLogCollector">
        <option name="directory-keys" value="/data/local/tmp/SurfaceFlingerPerfTests" />
        <!-- Needed for pulling the collected trace config on to the host -->
        <option name="pull-pattern-keys" value="perfetto_file_path" />
        <option name="pull-pattern-keys" value="simpleperf_file_path" />
    </metrics_collector>

</configuration>
+0 −1
Original line number Diff line number Diff line
@@ -48,6 +48,5 @@ public class SurfaceFlingerPerfTest {
        while (state.keepRunning()) {
            // Do Something
        }

    }
}