PProf doesnt open in the web

I try to use PProf but it doesnt seem to open the ui in firefox. The error message is
profile.pb.gz: malformed profile: found location with reserved id=0
pprof: failed to fetch any source profiles

I used @profile my_func()
PProf.pprof(;webport=58699)

What is the problem? Once, it worked, i have graphikz installed but i cant make it open again…

3 Likes

I ran into this issue as well. It seems you need to have pprof installed as well. You can install it using go

go install github.com/google/pprof@latest

And then make sure to add the binary to your search path, $PATH with

export PATH="$GOPATH/bin:$PATH"

assuming $GOPATH is set when you installed go.

See pprof page: GitHub - google/pprof: pprof is a tool for visualization and analysis of profiling data for more details.

After this you should probably restart your julia REPL session.