diff options
| author | 2024-07-09 22:08:15 +0000 | |
|---|---|---|
| committer | 2024-07-09 22:14:49 +0000 | |
| commit | 2665ca95a56c827a4b17abd8e9d38d5c8fd610cf (patch) | |
| tree | a42abbd20cd58b814a28fc5ee391475c31531d75 /services/surfaceflinger/Layer.cpp | |
| parent | ff206d6d5d9150bbfeac0dfbe92825d97a7de5b2 (diff) | |
Switch remaining atrace calls to use sf specific macro
Flag: EXEMPT refactor
Bug: 349905670
Test: presubmit
Change-Id: Ifed012cbaf76dba434191eff426c1c79f8c9dfbd
Diffstat (limited to 'services/surfaceflinger/Layer.cpp')
| -rw-r--r-- | services/surfaceflinger/Layer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp index 86c7d165e8..9a4a15374c 100644 --- a/services/surfaceflinger/Layer.cpp +++ b/services/surfaceflinger/Layer.cpp @@ -3238,7 +3238,7 @@ void Layer::recordLayerHistoryBufferUpdate(const scheduler::LayerProps& layerPro return static_cast<nsecs_t>(0); }(); - if (ATRACE_ENABLED() && presentTime > 0) { + if (SFTRACE_ENABLED() && presentTime > 0) { const auto presentIn = TimePoint::fromNs(presentTime) - TimePoint::now(); SFTRACE_FORMAT_INSTANT("presentIn %s", to_string(presentIn).c_str()); } |