summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2021-11-30 23:18:13 +0000
committer Ady Abraham <adyabr@google.com> 2021-11-30 23:18:21 +0000
commit3bea4255568e412b27a60eff090baf95564596e3 (patch)
tree5f8d5da29b83fd98fc8632ffe3fb8d49e4331113
parent85bebf4e75870bc01e70b120118309985210406e (diff)
Trace VsyncId in transactionIsReadyToBeApplied
Change-Id: Iec16e5fbfec51979ca24e351acd7241d059d3eb9 Test: systrace
-rw-r--r--services/surfaceflinger/SurfaceFlinger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp
index a648797e6c..0cdbdbd02c 100644
--- a/services/surfaceflinger/SurfaceFlinger.cpp
+++ b/services/surfaceflinger/SurfaceFlinger.cpp
@@ -3663,7 +3663,7 @@ bool SurfaceFlinger::transactionIsReadyToBeApplied(
const std::unordered_set<sp<IBinder>, ISurfaceComposer::SpHash<IBinder>>&
bufferLayersReadyToPresent,
bool allowLatchUnsignaled) const {
- ATRACE_CALL();
+ ATRACE_FORMAT("transactionIsReadyToBeApplied vsyncId: %" PRId64, info.vsyncId);
const nsecs_t expectedPresentTime = mExpectedPresentTime.load();
// Do not present if the desiredPresentTime has not passed unless it is more than one second
// in the future. We ignore timestamps more than 1 second in the future for stability reasons.