X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=ltt-sessiond%2Fsession.h;h=96ecc217ee2daabd1acfcf21915afd0d868af9d2;hb=471d16937e160d99382c633db37d89605f483556;hp=5bfe16ac04122a0e9c079ef02512a1cea54bc1c4;hpb=5b74c7b1ca96399ba5c8bd0ce6974aea671198eb;p=lttng-tools.git diff --git a/ltt-sessiond/session.h b/ltt-sessiond/session.h index 5bfe16ac0..96ecc217e 100644 --- a/ltt-sessiond/session.h +++ b/ltt-sessiond/session.h @@ -1,4 +1,4 @@ -/* +/* * Copyright (C) 2011 - David Goulet * * This program is free software; you can redistribute it and/or @@ -19,6 +19,11 @@ #ifndef _LTT_SESSION_H #define _LTT_SESSION_H +#include +#include + +extern struct ltt_session *current_session; + /* Global session list */ struct ltt_session_list { struct cds_list_head head; @@ -32,9 +37,11 @@ struct ltt_session { struct cds_list_head list; uuid_t uuid; struct cds_list_head ust_traces; - struct cds_list_head lttng_traces; + struct cds_list_head kernel_traces; + unsigned int ust_trace_count; + unsigned int kern_trace_count; pid_t ust_consumer; - pid_t lttng_consumer; + pid_t kernel_consumer; }; /* Prototypes */