tfzxyinhao / gperftools

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

I can not get the result of txt,help me #414

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

When i use pprof --text bin/bs prof.txt,error  be print:

Use of uninitialized value in substitution (s///) at 
/home/map/gprofiler/bin/pprof line 3103.
Use of uninitialized value in concatenation (.) or string at 
/home/map/gprofiler/bin/pprof line 3105.
Use of uninitialized value in concatenation (.) or string at 
/home/map/gprofiler/bin/pprof line 3105.
Use of uninitialized value in substitution (s///) at 
/home/map/gprofiler/bin/pprof line 3103.
Use of uninitialized value in concatenation (.) or string at 
/home/map/gprofiler/bin/pprof line 3105.
Use of uninitialized value in concatenation (.) or string at 
/home/map/gprofiler/bin/pprof line 3105.
Use of uninitialized value in sprintf at /home/map/gprofiler/bin/pprof line 
3270.
Gathering CPU profile from http:///pprof/profile?seconds=30 for 30 seconds to
  /home/map/pprof/bs.1331008371.
Be patient...
Failed to get profile: curl -s --max-time 90 'http:///pprof/profile?seconds=30' 
> '/home/map/pprof/.tmp.bs.1331008371.': No such file or directory

Original issue reported on code.google.com by chen...@baidu.com on 6 Mar 2012 at 5:24

GoogleCodeExporter commented 9 years ago
Have you figured this out?

Original comment by chapp...@gmail.com on 3 May 2012 at 2:46

GoogleCodeExporter commented 9 years ago
Also, can you please include your target platform information as well as the 
perftools version.

Original comment by chapp...@gmail.com on 4 May 2012 at 12:49

GoogleCodeExporter commented 9 years ago
Unless I get any further details on this issue I will need to close it since 
there is not enough information here to work with.

Original comment by chapp...@gmail.com on 15 May 2012 at 1:37

GoogleCodeExporter commented 9 years ago
Even I am facing the same problem, I am running command like this:

pprof ~/executable "~/executable.13229._main_-end.heap" --inuse_objects --lines 
--heapcheck  --edgefraction=1e-10 --nodefraction=1e-10 --gv

Original comment by avd...@gmail.com on 10 Jun 2012 at 6:09

GoogleCodeExporter commented 9 years ago
I dont understand why its trying to get something over http when everything it 
needs is in .heapfile

Original comment by avd...@gmail.com on 10 Jun 2012 at 6:09

GoogleCodeExporter commented 9 years ago
I'm facing the same problem (issue 436).

Original comment by semh...@gmail.com on 11 Jun 2012 at 9:03

GoogleCodeExporter commented 9 years ago
It might be caused by the missing "/tmp/prof.out" ("prof.txt" in your case). 
Please check it using a command like "$ ls /tmp". A solution is to double-check 
your Makefile or CMakeLists: are you add the libraries (e.g., libprofiler, 
libtcmalloc) and the library links/locations properly?

Original comment by shzha...@gmail.com on 30 Nov 2012 at 2:34

GoogleCodeExporter commented 9 years ago
Have you guys figured this one out?

Original comment by chapp...@gmail.com on 23 Dec 2012 at 2:47

GoogleCodeExporter commented 9 years ago
I am facing this same problem, is there a fix for it yet?

Original comment by sebastia...@gmail.com on 26 Dec 2012 at 9:05

GoogleCodeExporter commented 9 years ago

Try using absolute paths. Also make sure the heap profile you are trying to use 
actually exists under the path you have provided. Otherwise it tries to look 
for a remote profile.

Original comment by chapp...@gmail.com on 26 Dec 2012 at 10:34