* put their reference, its refcount drops to 0.
*/
static struct ctf_trace *ctf_trace_create(struct relay_session *session,
* put their reference, its refcount drops to 0.
*/
static struct ctf_trace *ctf_trace_create(struct relay_session *session,
pthread_mutex_init(&trace->lock, NULL);
pthread_mutex_init(&trace->stream_list_lock, NULL);
lttng_ht_add_str(session->ctf_traces_ht, &trace->node);
pthread_mutex_init(&trace->lock, NULL);
pthread_mutex_init(&trace->stream_list_lock, NULL);
lttng_ht_add_str(session->ctf_traces_ht, &trace->node);
- DBG("Created ctf_trace %" PRIu64 " with path: %s", trace->id, path_name);
+ DBG("Created ctf_trace %" PRIu64 "of session \"%s\" from host \"%s\" with path: %s",
+ trace->id, session->session_name, session->hostname,
+ subpath);
{
struct lttng_ht_node_str *node;
struct lttng_ht_iter iter;
struct ctf_trace *trace = NULL;
rcu_read_lock();
{
struct lttng_ht_node_str *node;
struct lttng_ht_iter iter;
struct ctf_trace *trace = NULL;
rcu_read_lock();