Crates.io | samply |
lib.rs | samply |
version | 0.13.1 |
created_at | 2022-07-17 23:04:06.920071+00 |
updated_at | 2025-02-01 06:57:38.581398+00 |
description | A command line profiler for macOS and Linux. |
homepage | |
repository | https://github.com/mstange/samply/ |
max_upload_size | |
id | 627405 |
size | 1,074,494 |
samply is a command line CPU profiler which uses the Firefox profiler as its UI.
samply works on macOS, Linux, and Windows.
In order to profile the execution of ./my-application
, prepend samply record
to the command invocation:
samply record ./my-application my-arguments
On Linux, samply uses perf events. You can grant temporary access by running:
echo '1' | sudo tee /proc/sys/kernel/perf_event_paranoid
Visit the git repository for more information.