[CRIU] [PATCH] log: Don't show time stamp on pr_msg

Cyrill Gorcunov gorcunov at openvz.org
Tue Nov 6 02:26:55 EST 2012


On Tue, Nov 06, 2012 at 11:24:25AM +0400, Cyrill Gorcunov wrote:
> In case if the pr_err happens before pr_msg,
> the string buffer will have dangling timestamp
> prefix. Skip it here.
> 
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>

Note, the benefit of skipping timespamp is that we are allowed
to do any combinations then -- pr_err, pr_msg, pr_err and we still
will have valid timestamp even after pr_msg. Moreover, the prefix
might have pid of a process which is written once on startup.


More information about the CRIU mailing list