Releases: Unity-Technologies/usamply
Releases · Unity-Technologies/usamply
Version 0.12.10-prerelease.1
Release Notes
Install usamply 0.12.10-prerelease.1
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/Unity-Technologies/usamply/releases/download/usamply/0.12.10-prerelease.1/usamply-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -c "irm https://github.com/Unity-Technologies/usamply/releases/download/usamply/0.12.10-prerelease.1/usamply-installer.ps1 | iex"
Download usamply 0.12.10-prerelease.1
0.12.8 - 2024-05-28 - Unity release
Release Notes
Features
- Add --tstart and --tstop options for limiting to a time range (in seconds) of a Windows profile.
- For
--coreclr
on mac, set DOTNET_PerfMapEnabled=3
instead of 2, to only produce much smaller perfmap files instead of jitdump files. If full jit assembly is needed, the environment variable can be set manually.
- Add flags to
--coreclr
to reduce the number of markers GC data provides. GC data is off by default.
- Add
--unstable-presymbolicate
option to record
. If set, this will generate a .syms.json
file next to the profile. If both files are available, the profile is self-contained and can be loaded with load
without debug information files being available (no assembly for JIT methods will be available, though). This is especially useful for capturing profiles in an automated way on CI.
- Add
--pid
support on macOS. This requires self-signing the profiler binary to grant the debugger entitlement.
Fixes
- Fixed missing
pdb2
crate override, leading to CoreCLR R2R symbols not being resolvable.
Install usamply 0.12.8
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/Unity-Technologies/usamply/releases/download/usamply/0.12.8/usamply-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -c "irm https://github.com/Unity-Technologies/usamply/releases/download/usamply/0.12.8/usamply-installer.ps1 | iex"
Download usamply 0.12.8
0.12.7 - 2024-05-28 - Unity release
Release Notes
Features
- For
--coreclr
on mac, set DOTNET_PerfMapEnabled=3
instead of 2, to only produce much smaller perfmap files instead of jitdump files. If full jit assembly is needed, the environment variable can be set manually.
Install usamply 0.12.7
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/Unity-Technologies/usamply/releases/download/usamply/0.12.7/usamply-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -c "irm https://github.com/Unity-Technologies/usamply/releases/download/usamply/0.12.7/usamply-installer.ps1 | iex"
Download usamply 0.12.7
0.12.6 - 2024-05-23 - Unity release
Release Notes
Features
- Add flags to
--coreclr
to reduce the number of markers GC data provides. GC data is off by default.
Install usamply 0.12.6
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/Unity-Technologies/usamply/releases/download/usamply/0.12.6/usamply-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -c "irm https://github.com/Unity-Technologies/usamply/releases/download/usamply/0.12.6/usamply-installer.ps1 | iex"
Download usamply 0.12.6
0.12.5 - 2024-05-16 - Unity release
Release Notes
Features
- Add
--unstable-presymbolicate
option to record
. If set, this will generate a .syms.json
file next to the profile. If both files are available, the profile is self-contained and can be loaded with load
without debug information files being available (no assembly for JIT methods will be available, though). This is especially useful for capturing profiles in an automated way on CI.
- Add
--pid
support on macOS. This requires self-signing the profiler binary to grant the debugger entitlement.
Fixes
- Fixed missing
pdb2
crate override, leading to CoreCLR R2R symbols not being resolvable.
Install usamply 0.12.5
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/Unity-Technologies/usamply/releases/download/usamply/0.12.5/usamply-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -c "irm https://github.com/Unity-Technologies/usamply/releases/download/usamply/0.12.5/usamply-installer.ps1 | iex"
Download usamply 0.12.5
usamply/0.12.3
Install usamply 0.12.3
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/Unity-Technologies/usamply/releases/download/usamply/0.12.3/usamply-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -c "irm https://github.com/Unity-Technologies/usamply/releases/download/usamply/0.12.3/usamply-installer.ps1 | iex"
Download usamply 0.12.3
usamply/0.12.2
Install usamply 0.12.2
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/Unity-Technologies/usamply/releases/download/usamply/0.12.2/usamply-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -c "irm https://github.com/Unity-Technologies/usamply/releases/download/usamply/0.12.2/usamply-installer.ps1 | iex"
Download usamply 0.12.2
0.12.1 - 2024-05-09 - Unity release
Release Notes
Features
- Release
usamply
customized for Unity
Install usamply 0.12.1
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/Unity-Technologies/usamply/releases/download/usamply/0.12.1/usamply-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -c "irm https://github.com/Unity-Technologies/usamply/releases/download/usamply/0.12.1/usamply-installer.ps1 | iex"
Download usamply 0.12.1
0.12.0-unity.2 - 2024-04-16
Release Notes
Breaking changes
- The minimum supported Rust version is now 1.74.
samply load perf.data
is now called samply import perf.data
.
- The
--port
alias has changed from -p
to -P
.
Features
- Linux: Allow attaching to running processes with
samply record -p [pid]
(#18, by @ishitatsuyuki)
- Linux, macOS: Support Jitdump in
samply record
.
- Linux: Support Jitdump in
samply import perf.data
without perf inject --jit
.
- Linux, macOS: Support
/tmp/perf-[pid].map
(#34 + #36, by @bnjbvr)
- Linux, macOS: Support specifying environment variables after
samply record
.
- Linux, macOS: Add
--iteration-count
and--reuse-threads
flags to samply record
.
- Linux: Support symbolication with
.dwo
and .dwp
files.
- Linux: Support unwinding and symbolicating VDSO frames.
- Linux, macOS: Support overwriting the launched browser with
$BROWSER
(#50, by @ishitatsuyuki)
- Linux, macOS: Add
--profile-name
argument to samply record
and samply import
to allow overriding the profile name (#68, by @rukai)
- Linux, macOS: Support Scala Native demangling (#109, by @keynmol)
- macOS: Support
--main-thread-only
in samply record
, for lower-overhead sampling
- macOS, Linux: Unstable support for adding markers from
marker-[pid].txt
files which are opened (and, on Linux, mmap'ed) during profiling.
- Linux: Support kernel symbols when importing
perf.data
files with kernel stacks, if /proc/sys/kernel/kptr_restrict
is 0
.
- Android: Support importing
perf.data
files recorded with simpleperf's --trace-offcpu
flag.
In progress
Fixes
- Linux, macOS: Don't discard information from processes with reused process IDs (e.g. due to exec).
- Linux: Support recording on more types of machines, by falling back to software perf events in more cases. (#70, by @rkd-msw)
- Linux: Fix out-of-order samples. (#30 + #62, by @ishitatsuyuki)
- Linux: Fix unwinding and symbolicating in processes which have forked without exec.
- Linux: Capture startup work of launched processes more reliably.
- Linux: Fix debuglink symbolication in certain cases. (#38, by @zecakeh)
- Linux: Fix stackwalking if unwinding information is stored in compressed
.debug_frame
sections. (#10, by @bobrik)
- macOS: Fix symbolication of system libraries on x86_64 macOS 13+.
- Android: Allow building samply for Android. (#76, by @flxo)
- macOS: Fix Jitdump symbolication for functions which were JITted just before the sample was taken (#128, by @vvuk)
- macOS, Linux: More reliable handling of Ctrl+C during profiling.
- macOS: Support recording workloads with deep recursion by eliding the middle of long stacks and not running out of memory.
- x86_64: Improve disassembly of relative jumps by displaying the absolute target address (#54, by @jrmuizel)
- macOS: Use yellow instead of blue, for consistency with Linux which uses yellow for user stacks and orange for kernel stacks.
Other
- Improve build times by using the separate serde-derive crate (#65, by @CryZe)
Install usamply 0.12.0-unity.2
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/mstange/samply/releases/download/usamply/0.12.0-unity.2/usamply-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -c "irm https://github.com/mstange/samply/releases/download/usamply/0.12.0-unity.2/usamply-installer.ps1 | iex"
Download usamply 0.12.0-unity.2