magic-trace v1.0.0
This release contains a lot of improvements and bugfixes to magic-trace. Upgrading is highly recommended.
The full changelog is available here.
Statically-linked executables and Ubuntu 20.04-equivalent-or-newer packages are attached to this release.
Features
- The snapshot buffer size is now configurable
- Timing granularity is now configurable, with lower granularities having lower recording overhead
Fixes
- Fixed the class of broken traces caused by ignoring Intel PT decode errors
- Gracefully handle duplicate entries in perf map files
- Propagate errors from
perf
- Kernel threads are no longer shown when running as root, since they can't currently be traced
perf
now unconditionally exits whenmagic-trace
does, rather than occasionally outliving it- Fixed decoding failure when
-working-dir
is a relative path
Miscellaneous
- Sped up trace decoding
--version
now displays git version information- Command help text now contains example invocations
- Default trace file is now
trace.fxt
(used to betrace.ftf
); this is the correct file extension for Fuchsia traces - Many refactors under the hood to permit more unit testing