commit | 2665ca95a56c827a4b17abd8e9d38d5c8fd610cf | [log] [tgz] |
---|---|---|
author | Vishnu Nair <vishnun@google.com> | Tue Jul 09 22:08:15 2024 +0000 |
committer | Vishnu Nair <vishnun@google.com> | Tue Jul 09 22:14:49 2024 +0000 |
tree | a42abbd20cd58b814a28fc5ee391475c31531d75 | |
parent | ff206d6d5d9150bbfeac0dfbe92825d97a7de5b2 [diff] [blame] |
Switch remaining atrace calls to use sf specific macro Flag: EXEMPT refactor Bug: 349905670 Test: presubmit Change-Id: Ifed012cbaf76dba434191eff426c1c79f8c9dfbd
diff --git a/services/surfaceflinger/Scheduler/src/Timer.cpp b/services/surfaceflinger/Scheduler/src/Timer.cpp index fba3d58..20c58eb 100644 --- a/services/surfaceflinger/Scheduler/src/Timer.cpp +++ b/services/surfaceflinger/Scheduler/src/Timer.cpp
@@ -188,7 +188,7 @@ int nfds = epoll_wait(mEpollFd, events, DispatchType::MAX_DISPATCH_TYPE, -1); setDebugState(DebugState::Running); - if (ATRACE_ENABLED()) { + if (SFTRACE_ENABLED()) { ftl::Concat trace("TimerIteration #", iteration++); SFTRACE_NAME(trace.c_str()); }