brendangregg / FlameGraph

Stack trace visualizer
http://www.brendangregg.com/flamegraphs.html
17.38k stars 1.97k forks source link

Error while using stack collapse for pmc on freebsd #300

Closed shauryapatel1995 closed 1 year ago

shauryapatel1995 commented 1 year ago

Hi, I am trying to use FlameGraph to generate a call stack framegraph on a freebsd profile. I profiled the application using pmcstat. When I run ./stackcollapse-pmc.pl sample.out > out.stacks I get the following error Use of uninitialized value $prev_count in concatenation (.) or string at ./stackcollapse-pmc.pl line 74, <> line 3918516..

Not sure what I am doing wrong here, any pointers?