https://github.com/brendangregg/FlameGraph should just output the collapsed stack format to clipboard or file