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

      var obj = event[1];
      var size = parseInt(event[2]);
      this.i915GemObjectSlice(ts, eventName, obj,
          {
            obj: obj,
            size: size
          });
      return true;
    }
function(eventName, cpuNumber, pid, ts, eventBase) {
      var event = /obj=(\w+), size=(\d+)/.exec(eventBase.details);
      if (!event)
        return false;

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