projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix possible NULL pointer dereference
[lttng-tools.git]
/
lttng-sessiond
/
trace-ust.h
diff --git
a/lttng-sessiond/trace-ust.h
b/lttng-sessiond/trace-ust.h
index 35683ebce6b95970694da76d7d74de34be36a8e0..f2ec7405f83fe4ca4e35b418fba0724f2b02bf20 100644
(file)
--- a/
lttng-sessiond/trace-ust.h
+++ b/
lttng-sessiond/trace-ust.h
@@
-53,7
+53,8
@@
struct ltt_ust_stream {
int handle;
char pathname[PATH_MAX];
struct lttng_ust_object_data *obj;
int handle;
char pathname[PATH_MAX];
struct lttng_ust_object_data *obj;
- struct cds_lfht_node node;
+ /* Using a list of streams to keep order. */
+ struct cds_list_head list;
};
/* UST channel */
};
/* UST channel */
@@
-99,6
+100,7
@@
struct ltt_ust_session {
int uid; /* Unique identifier of session */
int consumer_fds_sent;
int consumer_fd;
int uid; /* Unique identifier of session */
int consumer_fds_sent;
int consumer_fd;
+ int start_trace;
char pathname[PATH_MAX];
struct ltt_ust_domain_global domain_global;
/*
char pathname[PATH_MAX];
struct ltt_ust_domain_global domain_global;
/*
This page took
0.023661 seconds
and
4
git commands to generate.