赞
踩
本来就是火焰图不熟悉,perl的bug更是火上浇油
报错:
$ ./flamegraph.pl perf.folded > perf.svg
Can't locate open.pm in @INC (you may need to install the open module) (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at ./flamegraph.pl line 97.
BEGIN failed--compilation aborted at ./flamegraph.pl line 97.
解决办法:
更新perl版本 :yum install perl
可能安装上了这个:
perl-open noarch 1.11-416.el8 AppStream 77 k
参考:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。