From: David Goulet Date: Fri, 16 Dec 2011 17:23:52 +0000 (-0500) Subject: Add debug statement X-Git-Tag: v2.0-pre16~15 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=0a962c07b5d957887e242556aa09c22693470c69;p=lttng-tools.git Add debug statement Signed-off-by: David Goulet --- diff --git a/lttng-sessiond/utils.c b/lttng-sessiond/utils.c index 0da564210..fe1866ac7 100644 --- a/lttng-sessiond/utils.c +++ b/lttng-sessiond/utils.c @@ -65,6 +65,9 @@ int mkdir_recursive(const char *path, mode_t mode, uid_t uid, gid_t gid) size_t len; mode_t old_umask; + DBG3("mkdir() recursive %s with mode %d for uid %d and gid %d", path, mode, + uid, gid); + ret = snprintf(tmp, sizeof(tmp), "%s", path); if (ret < 0) { PERROR("snprintf mkdir");