You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I've just installed pprof on MacOS 14.0 through go install github.com/google/pprof@latest . When I try to look
to look at a profiling data with the command below I get an error.
$ pprof -http=":" alloc-profile.pb.gz
Main binary filename not available.
Serving web UI on http://localhost:50980
Error: <stdin>: syntax error in line 36 scanning a quoted string (missing endquote? longer than 16384?)
String starting:"evalrule(::AdjointSensitivityIntegrand{ComponentVector{Float64, Vector{Float64},
Failed to execute dot. Is Graphviz installed?
exit status 1
I have graphviz installed through homebrew and the dot binary is available on my system:
$ which dot
/opt/homebrew/bin/dot
When I request a dot output from pprof it works fine:
$ pprof -dot alloc-profile.pb.gz | head -n 2
Main binary filename not available.
digraph "unnamed" {
node [style=filled fillcolor="#f8f8f8"]
[...]
How can I get pprof output in my browser?
The text was updated successfully, but these errors were encountered:
@rkube Basically, I think most likely an invalid dot file was produced for this profile. Maybe lack of escaping of some weird character in the function name. Can you share the profile?
Hi,
I've just installed pprof on MacOS 14.0 through
go install github.com/google/pprof@latest
. When I try to lookto look at a profiling data with the command below I get an error.
I have
graphviz
installed through homebrew and thedot
binary is available on my system:When I request a
dot
output frompprof
it works fine:How can I get
pprof
output in my browser?The text was updated successfully, but these errors were encountered: