[CRIU] [PATCH] mount: Add LOG_PREFIX
Cyrill Gorcunov
gorcunov at openvz.org
Thu Sep 10 04:20:32 PDT 2015
It's very convenient to grep the log for mount related operations only.
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
mount.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/mount.c b/mount.c
index 36b4278ed25a..a5a0d2e2bdee 100644
--- a/mount.c
+++ b/mount.c
@@ -32,6 +32,9 @@
#define AUTODETECTED_MOUNT "CRIU:AUTOGENERATED"
+#undef LOG_PREFIX
+#define LOG_PREFIX "mnt: "
+
int ext_mount_add(char *key, char *val)
{
struct ext_mount *em;
--
2.4.3
More information about the CRIU
mailing list