Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d1a65da9 authored by Jesse Hall's avatar Jesse Hall Committed by Android Git Automerger
Browse files

am 4d407a0f: surfaceflinger: Trace HW vsync enable

* commit '4d407a0f':
  surfaceflinger: Trace HW vsync enable
parents 8a79617f 4d407a0f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -524,6 +524,10 @@ void HWComposer::eventControl(int disp, int event, int enabled) {
            if (!err) {
                int32_t& events(mDisplayData[disp].events);
                events = (events & ~eventBit) | newValue;

                char tag[16];
                snprintf(tag, sizeof(tag), "HW_VSYNC_ON_%1u", disp);
                ATRACE_INT(tag, enabled);
            }
        }
        // error here should not happen -- not sure what we should