[package]
edition = "2021"
name = "stackpulse"
version = "0.7.0"
build = false
include = [
"Cargo.lock",
"Cargo.toml",
"CHANGELOG.md",
"LICENSE-MIT",
"README.md",
"benches/**",
"docs/**",
"examples/**",
"src/**",
"tests/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Linux perf_event stack sampling with native unwinding, symbolization, and compact spooling"
readme = "README.md"
keywords = [
"profiler",
"linux",
"perf",
"sampling",
"unwind",
]
categories = ["development-tools::profiling"]
license = "MIT"
repository = "https://github.com/pablogsal/stackpulse"
[features]
bench-support = []
debuginfod = []
default = []
[lib]
name = "stackpulse"
path = "src/lib.rs"
[[example]]
name = "bench_spool_symbolize"
path = "examples/bench_spool_symbolize.rs"
[[example]]
name = "gecko_profile"
path = "examples/gecko_profile.rs"
[[example]]
name = "mini_profile"
path = "examples/mini_profile.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[bench]]
name = "stackpulse_suite"
path = "benches/stackpulse_suite.rs"
harness = false
required-features = ["bench-support"]
[dependencies.bitflags]
version = "2.4"
[dependencies.framehop]
version = "0.16.0"
[dependencies.gimli]
version = "0.33"
features = ["read"]
default-features = false
[dependencies.goblin]
version = "0.9"
[dependencies.integer-encoding]
version = "4.1.0"
default-features = false
[dependencies.libc]
version = "0.2"
[dependencies.memchr]
version = "2.7"
[dependencies.memmap2]
version = "0.9"
[dependencies.mio]
version = "1"
features = [
"os-ext",
"os-poll",
]
[dependencies.nix]
version = "0.29"
features = [
"fs",
"process",
"signal",
]
[dependencies.object]
version = "0.39"
features = [
"std",
"read_core",
"elf",
"compression",
]
default-features = false
[dependencies.perf-event-open]
version = "0.5"
features = ["linux-6.0"]
[dependencies.perf-event-open-sys]
version = "6.0"
[dependencies.rustc-hash]
version = "2.1"
[dependencies.tokio]
version = "1.38"
features = [
"rt",
"io-util",
"sync",
"time",
"net",
]
[dependencies.tracing]
version = "0.1"
[dependencies.wholesym]
version = "0.8.1"
[dev-dependencies.criterion]
version = "4.7.0"
package = "codspeed-criterion-compat"
[dev-dependencies.flate2]
version = "1.1"
[dev-dependencies.fxprof-processed-profile]
version = "0.8.1"
[dev-dependencies.serde_json]
version = "1"
[lints.clippy]
cognitive_complexity = "warn"
[lints.clippy.all]
level = "warn"
priority = -1