[systemd-devel] [PATCH] bootchart: add parameter "-C" to expand process names to the full cmdline

Harald Hoyer harald at redhat.com
Wed Mar 6 09:07:37 PST 2013


Am 06.03.2013 18:02, schrieb harald at redhat.com:
> +                for (p = enc_name; *p; p++)
> +                        if (p[0] == '-' && p[1] == '-')
> +                                p[1]='_';
> +
> +                svg("<!-- %s [%d] pss=", enc_name, ps->pid);

this is needed, because we can't have "--" inside <!-- comment -->

Also, for an example see:

http://harald.fedorapeople.org/downloads/bootchart-20130306-1223.svg


More information about the systemd-devel mailing list