projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Comments and cleanup review Mathieu & David
[lttng-tools.git]
/
ltt-sessiond
/
session.h
diff --git
a/ltt-sessiond/session.h
b/ltt-sessiond/session.h
index 6bc7c47994f1d0e2df439a8dc87cf777fddbe274..11f9b9ace8986b0366e046d5787a7803fa38180c 100644
(file)
--- a/
ltt-sessiond/session.h
+++ b/
ltt-sessiond/session.h
@@
-19,9
+19,16
@@
#ifndef _LTT_SESSION_H
#define _LTT_SESSION_H
#ifndef _LTT_SESSION_H
#define _LTT_SESSION_H
-#include <lttng/l
iblttngctl
.h>
+#include <lttng/l
ttng
.h>
#include <uuid/uuid.h>
#include <uuid/uuid.h>
+/*
+ * FIXME: create a cmd_context structure to pass this kind of
+ * information around as parameter. Will facilitate multithreaded design
+ * later.
+ */
+extern struct ltt_session *current_session;
+
/* Global session list */
struct ltt_session_list {
struct cds_list_head head;
/* Global session list */
struct ltt_session_list {
struct cds_list_head head;
@@
-35,9
+42,11
@@
struct ltt_session {
struct cds_list_head list;
uuid_t uuid;
struct cds_list_head ust_traces;
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 ust_consumer;
- pid_t
lttng
_consumer;
+ pid_t
kernel
_consumer;
};
/* Prototypes */
};
/* Prototypes */
This page took
0.02373 seconds
and
4
git commands to generate.