[CRIU] [PATCH] mount: Add LOG_PREFIX

Cyrill Gorcunov gorcunov at gmail.com
Fri Sep 11 06:36:59 PDT 2015


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: ").


More information about the CRIU mailing list