#![allow(clippy::too_many_arguments, reason = "buildstructor")]
use std::path::PathBuf;
use inferno::collapse::dtrace::Options as DtraceOptions;
use inferno::collapse::perf::Options as PerfOptions;
type FlamegraphOptions = inferno::flamegraph::Options<'static>;
#[derive(Clone, buildstructor::Builder)]
#[non_exhaustive] pub struct TracingOptions {
pub frequency: u32,
pub dtrace_outfile: Option<PathBuf>,
pub perf_raw_outfile: Option<PathBuf>,
pub fold_outfile: Option<PathBuf>,
pub fold_dtrace_options: Option<DtraceOptions>,
pub fold_perf_options: Option<PerfOptions>,
pub flamegraph_outfile: Option<PathBuf>,
pub flamegraph_options: Option<fn() -> FlamegraphOptions>,
}