[systemd-devel] [PATCH] bootchart: remove duplicated code, prevent creating empty files

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Mon Mar 23 21:13:09 PDT 2015


On Mon, Mar 23, 2015 at 03:48:41AM -0700, Shawn Landden wrote:
> In Debian and rawhide Fedora, which have CONFIG_SCHEDSTATS=n,
> bootchart creates empty files in /run/log before printing an error.
> Stop doing that.
> 
> Moreover this duplicated part of the code doesn't even have error checking
> so there is no error avoided by doing this early.
Applied.

Zbyszek


More information about the systemd-devel mailing list