[PATCH 20/24] trace: Support output of a flamegraph