Add UST snapshot support
[lttng-tools.git] / src / bin / lttng-sessiond / snapshot.c
index ba7cdff2c3a52b3415e464ca8605b71099f7aaaf..b14a398c343ba58d2cab3a50b726f2d33475b515 100644 (file)
@@ -49,6 +49,9 @@ int snapshot_output_init(uint64_t max_size, const char *name,
 
        assert(output);
 
+       DBG2("Snapshot output initializing with max size %" PRIu64 ", name %s "
+                       "ctrl URL %s, data URL %s", max_size, name, ctrl_url, data_url);
+
        output->max_size = max_size;
        if (snapshot) {
                output->id = get_next_output_id(snapshot);
@@ -211,11 +214,6 @@ error:
        return output;
 }
 
-struct snapshot *snapshot_alloc(void)
-{
-       return zmalloc(sizeof(struct snapshot));
-}
-
 /*
  * Initialized a snapshot object that was already allocated.
  *
This page took 0.024254 seconds and 4 git commands to generate.