Cargo Features

tracing-profile has no features set by default.

[dependencies]
tracing-profile = { version = "0.7.0", features = ["panic", "perf_counters", "perfetto", "ittapi"] }
panic
perf_counters = perf-event

Affects storage_utils::with_span_storage, layers::print_perf_counters

perfetto

Enables tracing-profile-perfetto-sys

Affects span_metadata::PerfettoMetadata, layers::perfetto

ittapi

Enables ittapi

Affects layers::ittapi

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

perf-event perf_counters?