Closed dimaqq closed 8 years ago
If I remove that None 1
line, plop.viewer still crashes:
_run_module_as_main (/usr/lib64/python2.7/runpy.py:136);_run_code (/usr/lib64/python2.7/runpy.py:62);<module> (/dima/plc... [snip]
SyntaxError: invalid syntax
It seems like .flame file ought to be Python-like, but it clearly misses a bunch of quotes at least...
plop.viewer
only works with the plop
output format. The flamegraph
output format is for use in (third-party) flamegraph viewers.
I ran some script from
scripts
directory with-m plop.collector -f flamegraph
and it generated aprofiles/scripts/xxx.py-xxx.flame
file, that starts like this:When I try to view it using
-m plop.viewer --datadir=profiles/scripts/
the server part crashes: