struct cds_lfht_iter iter;
rcu_read_lock();
- node = hashtable_lookup(ht, (void *) name, strlen(name), &iter);
+ node = hashtable_lookup(ht, (void *)name, strlen(name), &iter);
if (node == NULL) {
rcu_read_unlock();
goto error;
*
* Return pointer to structure or NULL.
*/
-struct ltt_ust_session *trace_ust_create_session(char *path, unsigned int uid,
+struct ltt_ust_session *trace_ust_create_session(char *path, int session_id,
struct lttng_domain *domain)
{
int ret;
}
/* Init data structure */
- lus->uid = uid;
+ lus->id = session_id;
lus->start_trace = 0;
/* Alloc UST domain hash tables */
rcu_read_lock();
- DBG2("Trace UST destroy session %d", session->uid);
+ DBG2("Trace UST destroy session %d", session->id);
/* Cleaning up UST domain */
destroy_domain_global(&session->domain_global);