HushengGen / gperftools

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

Allow disabling template argument stripping in pprof #637

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use CPUPROFILER to profile any C++ program with some templates
2. Use pprof to view the profiling results

What is the expected output? What do you see instead?
pprof would strip template arguments, which is sometimes inconvenient for C++ 
program analysis, and currently there is no way to disable such behavior.

Please provide any additional information below.
I have added this feature to pprof, and the patch is attached. Hope this can be 
accepted.

Original issue reported on code.google.com by jia.kai66@gmail.com on 28 Jul 2014 at 6:37

Attachments:

GoogleCodeExporter commented 9 years ago
applied. thanks.

Original comment by alkondratenko on 2 Aug 2014 at 6:48