/* UST event */
struct ltt_ust_event {
- unsigned int enabled;
+ bool enabled;
struct lttng_ust_abi_event attr;
struct lttng_ht_node_str node;
char *filter_expression;
/* UST channel */
struct ltt_ust_channel {
uint64_t id; /* unique id per session. */
- unsigned int enabled;
+ bool enabled;
/*
* A UST channel can be part of a userspace sub-domain such as JUL,
* Log4j, Python.
uid_t uid;
gid_t gid;
/* Is the session active meaning has is been started or stopped. */
- unsigned int active:1;
+ bool active;
struct consumer_output *consumer;
/* Sequence number for filters so the tracer knows the ordering. */
uint64_t filter_seq_num;
void trace_ust_delete_channel(struct lttng_ht *ht,
struct ltt_ust_channel *channel);
+int trace_ust_regenerate_metadata(struct ltt_ust_session *usess);
+
/*
* Destroy functions free() the data structure and remove from linked list if
* it's applies.
return;
}
+static inline int trace_ust_regenerate_metadata(
+ struct ltt_ust_session *usess __attribute__((unused)))
+{
+ return 0;
+}
+
static inline
struct agent *trace_ust_find_agent(
struct ltt_ust_session *session __attribute__((unused)),