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

Commit 626670f8 authored by Robert Delgado's avatar Robert Delgado
Browse files

Lowered surface flinger trace buffer to 5MB.

Bug: 136202290

Test: Create new sftrace and verify less than 5MB.
Change-Id: If3dd5f776de337991934bfb178155b7119d485ae
parent a5f1a6a3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@ public:
    void setTraceFlags(uint32_t flags);

private:
    static constexpr auto kDefaultBufferCapInByte = 100_MB;
    static constexpr auto kDefaultBufferCapInByte = 5_MB;
    static constexpr auto kDefaultFileName = "/data/misc/wmtrace/layers_trace.pb";

    class LayersTraceBuffer { // ring buffer