|
| 1 | +# Releases |
| 2 | + |
| 3 | +## Unreleased |
| 4 | + |
| 5 | +### Breaking changes |
| 6 | + |
| 7 | + - The minimum supported Rust version is now 1.74. |
| 8 | + - `samply load perf.data` is now called `samply import perf.data`. |
| 9 | + - The `--port` alias has changed from `-p` to `-P`. |
| 10 | + |
| 11 | +### Features |
| 12 | + |
| 13 | + - Linux: Allow attaching to running processes with `samply record -p [pid]` ([#18](https://github.com/mstange/samply/pull/18), by @ishitatsuyuki) |
| 14 | + - Linux, macOS: Support Jitdump in `samply record`. |
| 15 | + - Linux: Support Jitdump in `samply import perf.data` without `perf inject --jit`. |
| 16 | + - Linux, macOS: Support `/tmp/perf-[pid].map`([#34](https://github.com/mstange/samply/pull/34) + [#36](https://github.com/mstange/samply/pull/36), by @bnjbvr) |
| 17 | + - Linux, macOS: Support specifying environment variables after `samply record`. |
| 18 | + - Linux, macOS: Add `--iteration-count` and`--reuse-threads` flags to `samply record`. |
| 19 | + - Linux: Support symbolication with `.dwo` and `.dwp` files. |
| 20 | + - Linux: Support unwinding and symbolicating VDSO frames. |
| 21 | + - Linux, macOS: Support overwriting the launched browser with `$BROWSER` ([#50](https://github.com/mstange/samply/pull/50), by @ishitatsuyuki) |
| 22 | + - Linux, macOS: Add `--profile-name` argument to `samply record` and `samply import` to allow overriding the profile name ([#68](https://github.com/mstange/samply/pull/68), by @rukai) |
| 23 | + - Linux, macOS: Support Scala Native demangling ([#109](https://github.com/mstange/samply/pull/109), by @keynmol) |
| 24 | + - macOS: Support `--main-thread-only` in `samply record`, for lower-overhead sampling |
| 25 | + - macOS, Linux: Unstable support for adding markers from `marker-[pid].txt` files which are opened (and, on Linux, mmap'ed) during profiling. |
| 26 | + - Linux: Support kernel symbols when importing `perf.data` files with kernel stacks, if `/proc/sys/kernel/kptr_restrict` is `0`. |
| 27 | + - Android: Support importing `perf.data` files recorded with simpleperf's `--trace-offcpu` flag. |
| 28 | + |
| 29 | +### In progress |
| 30 | + |
| 31 | + - Linux: Groundwork to support profiling Wine apps (by @ishitatsuyuki) |
| 32 | + |
| 33 | +### Fixes |
| 34 | + |
| 35 | + - Linux, macOS: Don't discard information from processes with reused process IDs (e.g. due to exec). |
| 36 | + - Linux: Support recording on more types of machines, by falling back to software perf events in more cases. ([#70](https://github.com/mstange/samply/pull/70), by @rkd-msw) |
| 37 | + - Linux: Fix out-of-order samples. ([#30](https://github.com/mstange/samply/pull/30) + [#62](https://github.com/mstange/samply/pull/62), by @ishitatsuyuki) |
| 38 | + - Linux: Fix unwinding and symbolicating in processes which have forked without exec. |
| 39 | + - Linux: Capture startup work of launched processes more reliably. |
| 40 | + - Linux: Fix debuglink symbolication in certain cases. ([#38](https://github.com/mstange/samply/pull/38), by @zecakeh) |
| 41 | + - Linux: Fix stackwalking if unwinding information is stored in compressed `.debug_frame` sections. ([#10](https://github.com/mstange/samply/pull/10), by @bobrik) |
| 42 | + - macOS: Fix symbolication of system libraries on x86_64 macOS 13+. |
| 43 | + - Android: Allow building samply for Android. ([#76](https://github.com/mstange/samply/pull/76), by @flxo) |
| 44 | + - macOS: Fix Jitdump symbolication for functions which were JITted just before the sample was taken ([#128](https://github.com/mstange/samply/pull/128), by @vvuk) |
| 45 | + - macOS, Linux: More reliable handling of Ctrl+C during profiling. |
| 46 | + - macOS: Support recording workloads with deep recursion by eliding the middle of long stacks and not running out of memory. |
| 47 | + - x86_64: Improve disassembly of relative jumps by displaying the absolute target address ([#54](https://github.com/mstange/samply/pull/54), by @jrmuizel) |
| 48 | + - macOS: Use yellow instead of blue, for consistency with Linux which uses yellow for user stacks and orange for kernel stacks. |
| 49 | + |
| 50 | +### Other |
| 51 | + |
| 52 | + - Improve build times by using the separate serde-derive crate ([#65](https://github.com/mstange/samply/pull/65), by @CryZe) |
| 53 | + |
| 54 | +## 0.11.0 (2023-01-06) |
0 commit comments