ssett / gperftools

Automatically exported from code.google.com/p/gperftools
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Callgrind output broken (patch provided) #673

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. generate a cpu profile
2. convert it to a callgrind fine using pprof

What is the expected output? What do you see instead?
The output file should be usable by kcachegrind but instead I got a lot of perl 
errors from pprof like :
Use of uninitialized value in string comparison (cmp) at /usr/bin/pprof line 
1299.

What version of the product are you using? On what operating system?
gperftools 2.4 on archlinux

Please provide any additional information below.
the regular expression fails when the filename is missing, converting ":0" to 
"??:0" fixes the problem (see attached patch).

Original issue reported on code.google.com by jonathan...@gmail.com on 13 Feb 2015 at 7:17

Attachments:

GoogleCodeExporter commented 9 years ago
applied. Thanks a lot.

Original comment by alkondratenko on 14 Feb 2015 at 2:20