[systemd-devel] [PATCH][V3] systemd-analyze: rewrite in C.

Kok, Auke-jan H auke-jan.h.kok at intel.com
Wed Feb 13 15:05:44 PST 2013


On Mon, Feb 4, 2013 at 12:32 PM, Simon Peeters <peeters.simon at gmail.com> wrote:
> Written by Peeters Simon <peeters.simon at gmail.com>. Makefile stuff
> and cleaned up a bit by Auke Kok <auke-jan.h.kok at intel.com>.
> ---
>
> Fixed some stuff and dit some more cleanup.
>
> This should just cover the same usage as the old systemd-analyze, but we can
> add more functionality afterwards (systemctl dot, other output formats,...)
>
> This is the rebased version as asked by William.
>
>
>  Makefile.am                    |  21 +-
>  src/analyze/systemd-analyze.c  | 575 +++++++++++++++++++++++++++++++++++++++++
>  src/analyze/systemd-analyze.in | 328 -----------------------
>  3 files changed, 585 insertions(+), 339 deletions(-)
>  create mode 100644 src/analyze/systemd-analyze.c
>  delete mode 100755 src/analyze/systemd-analyze.in


I merged the patches from the bugzilla here:

https://bugs.freedesktop.org/show_bug.cgi?id=60112

it's mostly verbatim all the patches in the attachments, with a few
minor changes:

- kept it "systemd-analyze dot"  instead of depgraph
- some casting issues wrt uint64_t and printf

Thanks for everyone for making this happen - now systemd-analyze no
longer requires cairo, Python!

Cheers,

Auke


More information about the systemd-devel mailing list