lib/third_party/tracing/extras/importer/linux_perf/drm_parser.js
function(eventName, cpuNumber, pid, ts, eventBase) {
      var event = /crtc=(\d+), seq=(\d+)/.exec(eventBase.details);
      if (!event)
        return false;

      var crtc = parseInt(event[1]);
      var seq = parseInt(event[2]);
      this.drmVblankSlice(ts, 'vblank:' + crtc,
          {
            crtc: crtc,
            seq: seq
          });
      return true;
    }
function(eventName, cpuNumber, pid, ts, eventBase) {
      var event = /crtc=(\d+), seq=(\d+)/.exec(eventBase.details);
      if (!event)
        return false;

      var crtc = parseInt(event[1]);
      var seq = parseInt(event[2]);
      this.drmVblankSlice(ts, 'vblank:' + crtc,
          {
            crtc: crtc,
            seq: seq
          });
      return true;
    }
function ( eventName , cpuNumber , pid , ts , eventBase ) { var event = / crtc=(\d+), seq=(\d+) / . exec ( eventBase . details ) ; if ( ! event ) return false ; var crtc = parseInt ( event [ 1 ] ) ; var seq = parseInt ( event [ 2 ] ) ; this . drmVblankSlice ( ts , 'vblank:' + crtc , { crtc : crtc , seq : seq } ) ; return true ; }
Parses drm driver events and sets up state in the importer.
Parses drm driver events and sets up state in the importer .