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

Skip to content
Commit 9c696ed6 authored by Yichi Chen's avatar Yichi Chen
Browse files

SF: Import ring buffer with size control in SurfaceTracing

Instead of disabling SurfaceTracing when its size exceeds the
limitation, we import the ring buffer as its storage and records the
latest status. The size of the ring buffer can be controlled when layer
trace is enabled.

Bug: b/115920963
Test: layer trace can keep at most 100MB without increasing memory usage
      in heap after 10 minutes.
Test: layer trace can keep last result in layers_trace.pb
Test: mTrace.enable can control the size of ring buffer

Change-Id: I8ce4b235b657429b7f1d9229befd509e976329fd
parent 6ab82a83
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment