[package]
name = "dial9-perf-self-profile"
version = "0.3.4"
edition.workspace = true
repository.workspace = true
description = "Minimal self-profiling via Linux perf_event_open with frame-pointer-based stack traces"
license = "MIT OR Apache-2.0"

[package.metadata.docs.rs]
rustc-args = ["-C", "force-frame-pointers=yes"]
targets = ["x86_64-unknown-linux-gnu"]
all-features = true

[dependencies]
dial9-trace-format = { workspace = true }
tracing = "0.1.44"

[target.'cfg(target_os = "linux")'.dependencies]
blazesym = "0.2"
crossbeam-utils = "0.8"
libc = "0.2"
perf-event-data = "0.1.8"
perf-event-open-sys2 = "5.0.6"
