pub async unsafe fn prof_time(
    total_time: Duration,
    sample_freq: u32,
    merge_threads: bool
) -> Result<StackProfile>
Expand description

Safety

Nothing else must be attempting to unwind backtraces while this is called. In particular, jemalloc memory profiling must be off.