It can be useful to collect the call stack data and then use a different tool to produce and analyze a flamegraph.