#include <stdint.h>
+#include <common/index-allocator.h>
#include <common/uuid.h>
#include "trace-ust.h"
struct lttng_bytecode;
struct lttng_ust_filter_bytecode;
-extern int ust_consumerd64_fd, ust_consumerd32_fd;
+extern int the_ust_consumerd64_fd, the_ust_consumerd32_fd;
/*
* Object used to close the notify socket in a call_rcu(). Since the
struct ust_app_event_notifier_rule {
int enabled;
+ uint64_t error_counter_index;
int handle;
struct lttng_ust_abi_object_data *obj;
/* Holds a strong reference. */
*/
struct lttng_ust_abi_object_data *object;
struct lttng_pipe *event_pipe;
+ struct lttng_ust_abi_object_data *counter;
+ struct lttng_ust_abi_object_data **counter_cpu;
+ int nr_counter_cpu;
} event_notifier_group;
/*
* Hashtable indexing the application's event notifier rule's
{
return 0;
}
-
+static inline
+void ust_app_update_event_notifier_error_count(
+ struct lttng_trigger *lttng_trigger)
+{
+ return;
+}
static inline
int ust_app_supported(void)
{