[systemd-devel] [PATCH][RFC][V2] systemd-analyze: rewrite in C. (Was: systemd-analyze-197 broken)

David Strauss david at davidstrauss.net
Tue Jan 22 14:14:15 PST 2013


On Sun, Jan 20, 2013 at 9:00 AM, Peeters Simon <peeters.simon at gmail.com> wrote:
> Because of the discution about the python dependencies for systemd-analyze
> I made a rewrite in C.

I was only advocating for the data collection side to move to C so
small, Python-less systems can still dump startup data for analysis
elsewhere.

Is there a reason the code generates an SVG directly? It seems cleaner
to generate a dot file, which is then trivial to pull into other
rendering and visualization tools. Graphviz can create an SVG from a
dot file (and would not have to run on the system that generates the
dot file). Dot is also a more abstract DAG representation, allowing
tools like X Dot [1] that browse the dot data directly.

[1] http://code.google.com/p/jrfonseca/wiki/XDot

--
David Strauss
   | david at davidstrauss.net
   | +1 512 577 5827 [mobile]


More information about the systemd-devel mailing list