lib/third_party/tracing/extras/importer/linux_perf/irq_parser.js
function(eventName, cpuNumber, pid, ts, eventBase) {
      var event = irqHandlerEntryRE.exec(eventBase.details);
      if (!event)
        return false;

      var irq = parseInt(event[1]);
      var name = event[2];

      var thread = this.importer.getOrCreatePseudoThread(
          'irqs cpu ' + cpuNumber);
      thread.lastEntryTs = ts;
      thread.irqName = name;

      return true;
    }
function(eventName, cpuNumber, pid, ts, eventBase) {
      var event = irqHandlerEntryRE.exec(eventBase.details);
      if (!event)
        return false;

      var irq = parseInt(event[1]);
      var name = event[2];

      var thread = this.importer.getOrCreatePseudoThread(
          'irqs cpu ' + cpuNumber);
      thread.lastEntryTs = ts;
      thread.irqName = name;

      return true;
    }
function ( eventName , cpuNumber , pid , ts , eventBase ) { var event = irqHandlerEntryRE . exec ( eventBase . details ) ; if ( ! event ) return false ; var irq = parseInt ( event [ 1 ] ) ; var name = event [ 2 ] ; var thread = this . importer . getOrCreatePseudoThread ( 'irqs cpu ' + cpuNumber ) ; thread . lastEntryTs = ts ; thread . irqName = name ; return true ; }
Parses irq events and sets up state in the mporter.
Parses irq events and sets up state in the mporter .