summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2022-06-22 17:01:25 +0000
committer Ady Abraham <adyabr@google.com> 2022-06-22 17:05:05 +0000
commitc621d8d2be904c516f811acee52d049b41662931 (patch)
tree546792b023d25d2c81f72ba3b198b1619dfba8ee
parent33da9468354b9b530712d4157298a8e0479cf2e5 (diff)
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
-rw-r--r--services/surfaceflinger/Scheduler/VsyncSchedule.cpp2
1 files changed, 2 insertions, 0 deletions
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 <scheduler/Fps.h>
#include <scheduler/Timer.h>