theRockLiu / gperftools

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

ProfileStart with filename argument ignores filename #531

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. The attached program starts the profiler via ProfilerStart("foobar.out");
2. Despite passing a file name, that parameter is ignored
3. The profile data continues to show up in /tmp/mybin.prof 

What is the expected output? What do you see instead?

I expected to see profile data in "foobar.out".  Instead, it is in 
/tmp/mybin.prof.

What version of the product are you using? On what operating system?
gproftools 2.0 on Ubuntu 13.04

Please provide any additional information below.

Original issue reported on code.google.com by rlat...@gmail.com on 17 May 2013 at 6:12

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry, my bad.  CPUPROFILE was set in my environment.  Please close this 
ticket. NOTABUG.

Original comment by rlat...@gmail.com on 17 May 2013 at 6:37

GoogleCodeExporter commented 9 years ago
Closing. 

Original comment by alkondratenko on 6 Jul 2013 at 8:11