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

Closed
alk opened this Issue Aug 23, 2015 · 13 comments

Comments

Projects
None yet
2 participants
Contributor

alk commented Aug 23, 2015

Originally reported on Google Code with ID 414


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

Reported by chenhao@baidu.com on 2012-03-06 05:24:54

alk self-assigned this Aug 23, 2015

Contributor

alk commented Aug 23, 2015

Have you figured this out?

Reported by chappedm on 2012-05-03 14:46:40

Contributor

alk commented Aug 23, 2015

Also, can you please include your target platform information as well as the perftools
version.

Reported by chappedm on 2012-05-04 12:49:45

Contributor

alk commented Aug 23, 2015

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.

Reported by chappedm on 2012-05-15 13:37:53

Contributor

alk commented Aug 23, 2015

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


Reported by avd122 on 2012-06-10 18:09:16

Contributor

alk commented Aug 23, 2015

I dont understand why its trying to get something over http when everything it needs
is in .heapfile

Reported by avd122 on 2012-06-10 18:09:49

Contributor

alk commented Aug 23, 2015

I'm facing the same problem (issue 436).

Reported by semhoun on 2012-06-11 09:03:55

Contributor

alk commented Aug 23, 2015

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?

Reported by shzhao17 on 2012-11-30 14:34:09

Contributor

alk commented Aug 23, 2015

Have you guys figured this one out?

Reported by chappedm on 2012-12-23 14:47:41

Contributor

alk commented Aug 23, 2015

I am facing this same problem, is there a fix for it yet?

Reported by sebastianmunozp on 2012-12-26 21:05:32

Contributor

alk commented Aug 23, 2015


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.

Reported by chappedm on 2012-12-26 22:34:01

Contributor

alk commented Feb 22, 2016

Closing stale ticket.

Also perl pprof implementation is deprecated in favor of github.com/google/pprof

alk closed this Feb 22, 2016

I am facing this same problem, is there a fix for it yet?

Contributor

alk commented Jan 12, 2017

Consider opening new issue with all details. But as noted above, if you're seeing message about curling something, then profile you're referring to doesn't exit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment