From c621d8d2be904c516f811acee52d049b41662931 Mon Sep 17 00:00:00 2001 From: Ady Abraham Date: Wed, 22 Jun 2022 17:01:25 +0000 Subject: SF: Add missing ATRACE_TAG to VsyncSchedule.cpp Enable ATRACE logging from VsyncSchedule.cpp which is needed for debugging. Test: collect systraces with debug.sf.show_predicted_vsync set to true and observe VSYNC-predicted track Change-Id: Id23fa2f0004319f4ee592e19dc34a6b74cdb644f Bug: 235566681 --- services/surfaceflinger/Scheduler/VsyncSchedule.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/surfaceflinger/Scheduler/VsyncSchedule.cpp b/services/surfaceflinger/Scheduler/VsyncSchedule.cpp index e611658bfd..3a918a1660 100644 --- a/services/surfaceflinger/Scheduler/VsyncSchedule.cpp +++ b/services/surfaceflinger/Scheduler/VsyncSchedule.cpp @@ -14,6 +14,8 @@ * limitations under the License. */ +#define ATRACE_TAG ATRACE_TAG_GRAPHICS + #include #include -- cgit v1.2.3-59-g8ed1b