[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANeU7Q=a82YmUE49uZ1sOxZn0KGLuktSXuj7YsmUb=wXQEpPXA@mail.gmail.com>
Date: Mon, 30 Jun 2014 01:57:13 -0700
From: Christopher Li <sparse@...isli.org>
To: linux-kernel <linux-kernel@...r.kernel.org>
Cc: Linux-Sparse <linux-sparse@...r.kernel.org>,
Sam Ravnborg <sam@...nborg.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Josh Triplett <josh@...htriplett.org>
Subject: [PATCH] sparse: Add CLOG option for saving warning
Currently sparse warning only output to stderr.
In the parallel build process, different source
file output is fixed together. It is hard to keep
track of the warning.
Add the CLOG=<logname> option in command line to
save the sparse warning into individual log file.
Typical usage:
make -j8 C=2 CLOG=<logname>
The log file is saved in the target directory as
.xxx.o.<logname>.sparse
By diffing between different log file, it is much
easier to analyze how the sparse change impact
the whole kernel build.
Signed-off-by: Christopher Li <sparse@...isli.org>
Chris
View attachment "0001-sparse-Add-CLOG-option-for-saving-warning.patch" of type "text/x-patch" (3006 bytes)
Powered by blists - more mailing lists