Skip to content
  1. Mar 27, 2024
  2. Mar 26, 2024
  3. Mar 25, 2024
  4. Mar 21, 2024
  5. Feb 27, 2024
  6. Feb 26, 2024
  7. Feb 19, 2024
  8. Feb 15, 2024
  9. Feb 14, 2024
    • Douglas Raillard's avatar
      tools/lisa-build-asset: Use Alpine chroot from kmod building · d5119640
      Douglas Raillard authored
      Drop alpine-chroot-install use as it is not well maintained and use the
      same infrastructure as the kernel module building code.
      d5119640
    • Douglas Raillard's avatar
      lisa.trace: Switch to TraceDumpTraceParser by default · 7f2fd85c
      Douglas Raillard authored
      FEATURE
      
      Switch the parser for trace.dat format to the new trace-dump parser.
      
      Also make a number of changes to the parsing infrastructure:
      * New trace-id parser metadata that is used instead of md5 checksum when
        available.
      
      * Meta events are now tried directly before their source event, so the
        parser has a chance to handle that directly. This is critical for
        trace_printk@ performance as the new parser handles it natively.
      
      * TraceParserBase subclasses are now used as a context manager when
        costly operation such as event parsing (always) or metadata querying
        (only when the result is really needed). This allows the parser to
        correctly manage its resources, while allowing cheap metadata
        gathering to happen as part of the constructor if needed.
      
      * A number of fixes such as minimzation of parsing attempts if an event
        is known to not be parseable.
      
      * available-events metadata are now cached in the trace cache.
      
      * Removed the multiprocessing parsing from lisa.trace.Trace. This is
        effectively useless with the new parser (which is parallel on its own)
        and avoids pitfalls of forking Python process (sluggish import time or
        crashy/illegal libc calls after fork, pick your poison)
      
      If need be, the old parser is still available and can be used as:
      
          Trace(..., parser=TxtTraceParser.from_dat)
      
      However, it is not expected that the old parser has any use beyond some
      meta events (userspace@...) so if you have problems with the new one,
      please open a bug report with the trace.dat.
      7f2fd85c
    • Douglas Raillard's avatar
      tools/trace-parser: Add Rust trace.dat parser · 09afb4a1
      Douglas Raillard authored
      FEATURE
      09afb4a1
Loading