diff --git a/stackcollapse-vtune-mc.pl b/stackcollapse-vtune-mc.pl index 133ed922..e132ab08 100755 --- a/stackcollapse-vtune-mc.pl +++ b/stackcollapse-vtune-mc.pl @@ -78,7 +78,7 @@ sub usage { ### for Intel VTune 2019 ### CSV header should be like below ### Function Stack,Allocation Size:Self,Deallocation Size:Self,Allocations:Self,Module - $currLine =~ /(\s*)(.*?),([0-9]*?\.?[0-9]*?),([0-9]*?\.?[0-9]*?),([0-9]+?),(.*)/ or die "Error in regular expression on the current line $currLine\n"; + $currLine =~ /(\s*)(.*?),([0-9]*?\.?[0-9]*?),([0-9]*?\.?[0-9]*?),([0-9]*?\.?[0-9]*?),(.*)/ or die "Error in regular expression on the current line $currLine\n"; my $func = $2.'('.$6.')'; # function(module) my $depth = length ($1); my $allocBytes = $3; # allocation size