projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix order of streams
[lttng-tools.git]
/
lttng-sessiond
/
trace-ust.h
diff --git
a/lttng-sessiond/trace-ust.h
b/lttng-sessiond/trace-ust.h
index aea7e714f03b27b2909c29b225012d3774e19397..604024b18b00f7e56c4da266ef9ea518096c4307 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 */
@@
-110,7
+111,7
@@
struct ltt_ust_session {
struct cds_lfht *domain_exec;
};
struct cds_lfht *domain_exec;
};
-#ifdef
CONFIG_LTTNG_TOOLS_HAVE_UST
+#ifdef
HAVE_LIBLTTNG_UST_CTL
/*
* Lookup functions. NULL is returned if not found.
/*
* Lookup functions. NULL is returned if not found.
@@
-139,7
+140,7
@@
void trace_ust_destroy_metadata(struct ltt_ust_metadata *metadata);
void trace_ust_destroy_channel(struct ltt_ust_channel *channel);
void trace_ust_destroy_event(struct ltt_ust_event *event);
void trace_ust_destroy_channel(struct ltt_ust_channel *channel);
void trace_ust_destroy_event(struct ltt_ust_event *event);
-#else
+#else
/* HAVE_LIBLTTNG_UST_CTL */
static inline
struct ltt_ust_event *trace_ust_find_event_by_name(struct cds_lfht *ht,
static inline
struct ltt_ust_event *trace_ust_find_event_by_name(struct cds_lfht *ht,
@@
-198,6
+199,6
@@
void trace_ust_destroy_event(struct ltt_ust_event *event)
{
}
{
}
-#endif /*
CONFIG_CONFIG_LTTNG_TOOLS_HAVE_UST
*/
+#endif /*
HAVE_LIBLTTNG_UST_CTL
*/
#endif /* _LTT_TRACE_UST_H */
#endif /* _LTT_TRACE_UST_H */
This page took
0.026304 seconds
and
5
git commands to generate.