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

Commit 49353773 authored by Vishnu Nair's avatar Vishnu Nair
Browse files

Make SurfaceFlinger tracing synchronous by default

There are few reports of async sf tracing crashing. Make the
tracing sync by default until we can make async tracing
more robust.

Bug: 174208080
Test: run sf trace on hwasan builds
Change-Id: I0593d72c230ae34e93b41c1d8e6fd241bf74e31d
parent 65cde03a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -85,7 +85,7 @@ private:
    std::unique_ptr<Runner> runner;
    std::unique_ptr<Runner> runner;


    struct Config {
    struct Config {
        uint32_t flags = TRACE_CRITICAL | TRACE_INPUT;
        uint32_t flags = TRACE_CRITICAL | TRACE_INPUT | TRACE_SYNC;
        size_t bufferSize = DEFAULT_BUFFER_SIZE;
        size_t bufferSize = DEFAULT_BUFFER_SIZE;
    } mConfig;
    } mConfig;