code: function(eventName, cpuNumber, pid, ts, eventBase) {
        if (this.lineRE == null) {
          this.lineRE = this.autoDetectLineRE(eventBase.details);
          if (this.lineRE == null)
            return false;
        }
        var maliEvent = this.lineRE.exec(eventBase.details);
        // Old-style Mali perf events have no thread id, so make one.
        var tid = (maliEvent[1] === '' ? 'mali' : maliEvent[1]);
        switch (maliEvent[2]) {
          case 'cros_trace_print_enter':
            this.maliDDKOpenSlice(pid, tid, ts, maliEvent[4],
                maliEvent[3]);
            break;
          case 'cros_trace_print_exit':
            this.maliDDKCloseSlice(pid, tid, ts, [], maliEvent[3]);
        }
        return true;
      }
docs: Parses maliDDK events and sets up state in the importer.
  events will come in pairs with a cros_trace_print_enter
  like this (line broken here for formatting):
  
  tracing_mark_write: mali_driver: (mali-012345) cros_trace_print_enter: \
  gles/src/texture/mali_gles_texture_slave.c@1505: gles2_texturep_upload
  
  and a cros_trace_print_exit like this:
  
  tracing_mark_write: mali_driver: (mali-012345) cros_trace_print_exit: \
  gles/src/texture/mali_gles_texture_slave.c@1505: