brendangregg/FlameGraph — pull request #30 by emaste (2014-06-03 14:46:16+00:00)
Title: Add support for FreeBSD hwpmc(4) callgraphs

Example usage:
pmcstat -S unhalted-cycles -O pmc.out
pmcstat -R pmc.out -z16 -G pmc.stacks
stackcollapse-pmc.pl pmc.stacks > pmc.folded