/* Allocate a new ltt ust session */
lus = malloc(sizeof(struct ltt_ust_session));
if (lus == NULL) {
- perror("create ust session malloc");
+ PERROR("create ust session malloc");
goto error;
}
/* Init data structure */
lus->consumer_fds_sent = 0;
lus->uid = uid;
+ lus->start_trace = 0;
/* Alloc UST domain hash tables */
lus->domain_pid = hashtable_new(0);
hashtable_node_init(&lue->node, (void *) lue->attr.name,
strlen(lue->attr.name));
/* Alloc context hash tables */
- lue->ctx = hashtable_new_str(5);
+ lue->ctx = hashtable_new_str(0);
return lue;