summaryrefslogtreecommitdiff
path: root/libs/ui/Gralloc2.cpp
diff options
context:
space:
mode:
author Adithya Srinivasan <adsrini@google.com> 2019-12-03 19:19:20 -0800
committer Adithya Srinivasan <adsrini@google.com> 2019-12-04 15:36:58 -0800
commit64c4f5cf7ef9c25dc1d436b126e9ba8d13dd746f (patch)
tree1b66397fab4166ca9ab2e940ae134009432631f2 /libs/ui/Gralloc2.cpp
parent6088d51fd3ecab4c82d87f09f0c889b6fd24e7ab (diff)
Set the clock id in FrameTracer for TracePacket
Perfetto uses BOOTTIME clock type by default, if it is not mentioned in the TracePacket. For data sources that use different clock type, they need to specify it in the TracePacket. SurfaceFlinger uses MONOTONIC type but this wasn't specified previously, resulting in misaligned events on the trace. Test: Take a trace, disconnect the USB cable, turn off the screen, connect the USB cable after 2 minutes and take a trace again Bug: 145616132 Change-Id: I1579aba874ecfd6bb8fd1f6d04e6cad61453a62d
Diffstat (limited to 'libs/ui/Gralloc2.cpp')
0 files changed, 0 insertions, 0 deletions