I made a tool that can convert the stackcollapse format (available for many tracing tools) into the spall format: https://github.com/bvisness/sc2spall. This example is a Rust program from work being profiled via dtrace.