struct cds_list_head node; /* Event notifier list */
struct cds_hlist_node hlist; /* Hash table of event notifiers */
struct cds_list_head capture_bytecode_runtime_head;
-
};
struct lttng_ust_bytecode_runtime {
struct lttng_ust_enum_ht enums_ht; /* ht of enumerations */
struct cds_list_head enums_head;
struct lttng_ust_ctx *ctx; /* contexts for filters. */
+
+ unsigned char uuid[LTTNG_UST_UUID_LEN]; /* Trace session unique ID */
+ bool uuid_set; /* Is uuid set ? */
};
struct lttng_enum {
const char *counter_transport_name,
size_t number_dimensions, const struct lttng_counter_dimension *dimensions);
-#ifdef HAVE_PERF_EVENT
+#ifdef HAVE_LINUX_PERF_EVENT_H
__attribute__((visibility("hidden")))
int lttng_add_perf_counter_to_ctx(uint32_t type,
__attribute__((visibility("hidden")))
void lttng_perf_counter_exit(void);
-#else /* #ifdef HAVE_PERF_EVENT */
+#else /* #ifdef HAVE_LINUX_PERF_EVENT_H */
static inline
int lttng_add_perf_counter_to_ctx(uint32_t type,
void lttng_perf_counter_exit(void)
{
}
-#endif /* #else #ifdef HAVE_PERF_EVENT */
+#endif /* #else #ifdef HAVE_LINUX_PERF_EVENT_H */
__attribute__((visibility("hidden")))
int lttng_probes_get_event_list(struct lttng_ust_tracepoint_list *list);
const char *interpreter_stack_data,
void *filter_ctx);
+__attribute__((visibility("hidden")))
+int lttng_ust_session_uuid_validate(struct lttng_ust_session *session,
+ unsigned char *uuid);
+
#endif /* _LTTNG_UST_EVENTS_INTERNAL_H */