Adding linux_perf_data library as a dependency

Run this command in a terminal, in your project's directory:

cargo add linux-perf-data

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

linux-perf-data = "0.12.0"

The linux_perf_data library will be automatically available globally. Read the linux_perf_data library documentation.

Back to the crate overview.