Cargo Features

tracing-profile has no features set by default.

[dependencies]
tracing-profile = { version = "0.9.0", features = ["ittapi", "panic", "perf_counters", "perfetto", "tracy"] }
ittapi

Enables ittapi

Affects layers::ittapi

panic
perf_counters = perf-event

Affects storage_utils::with_span_storage, layers::print_perf_counters

perfetto

Enables tracing-profile-perfetto-sys ^0.7.0

Affects span_metadata::PerfettoMetadata, layers::perfetto

tracy

Enables tracing-tracy

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?