projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix enabled state when listing UST events
[lttng-tools.git]
/
lttng-sessiond
/
trace-ust.h
diff --git
a/lttng-sessiond/trace-ust.h
b/lttng-sessiond/trace-ust.h
index 35683ebce6b95970694da76d7d74de34be36a8e0..9235ca62c837e261e682b671a6a9e7262ea5fb84 100644
(file)
--- a/
lttng-sessiond/trace-ust.h
+++ b/
lttng-sessiond/trace-ust.h
@@
-43,6
+43,7
@@
struct ltt_ust_context {
/* UST event */
struct ltt_ust_event {
/* UST event */
struct ltt_ust_event {
+ unsigned int enabled;
struct lttng_ust_event attr;
struct cds_lfht *ctx;
struct cds_lfht_node node;
struct lttng_ust_event attr;
struct cds_lfht *ctx;
struct cds_lfht_node node;
@@
-53,11
+54,13
@@
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 */
struct ltt_ust_channel {
};
/* UST channel */
struct ltt_ust_channel {
+ unsigned int enabled;
char name[LTTNG_UST_SYM_NAME_LEN];
char pathname[PATH_MAX];
struct lttng_ust_channel attr;
char name[LTTNG_UST_SYM_NAME_LEN];
char pathname[PATH_MAX];
struct lttng_ust_channel attr;
@@
-99,6
+102,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.023413 seconds
and
4
git commands to generate.