[CRIU] [PATCH] mount: Add LOG_PREFIX
Pavel Emelyanov
xemul at parallels.com
Fri Sep 11 07:01:26 PDT 2015
On 09/11/2015 04:36 PM, Cyrill Gorcunov wrote:
> On Fri, Sep 11, 2015 at 04:29:48PM +0300, Pavel Emelyanov wrote:
>> I guess we're starting to have LOG_PREFIX for pretty much everything in
>> the source code :) Why not teach Makefiles to add -DLOG_PREFIX="$file_name"
>> option to each gcc being spawned?
>
> It's not a problem, but file name is not the same as a log-prefix.
> We might have same log prefix for several files, or have short log
> prefix (as in case of say cgroup.c where log-prefix is "cg: ").
Those not willing to have file-generated log-prefix can redefine one.
More information about the CRIU
mailing list