code: function autoDetectLineParser(line) {
      if (line[0] == '{')
        return false;
      if (lineREWithTGID.test(line))
        return lineParserWithTGID;
      if (lineREWithIRQInfo.test(line))
        return lineParserWithIRQInfo;
      if (lineREWithLegacyFmt.test(line))
        return lineParserWithLegacyFmt;
      return null;
    }
docs: Deduce the format of trace data. Linux kernels prior to 3.3 used one
  format (by default); 3.4 and later used another.  Additionally, newer
  kernels can optionally trace the TGID.
  
  @return {function} the function for parsing data when the format is
  recognized; otherwise null.