Move and hide new 'lttng_ust_counter_create' private symbol
[lttng-ust.git] / liblttng-ust / ust-events-internal.h
index 966fce6e7e120088c14327880584c9b8b30492e5..1d8e914ad2487dc9d56a8c0b1bdd62aa1928e90d 100644 (file)
@@ -46,6 +46,7 @@ struct lttng_event_enabler {
 
 struct lttng_event_notifier_enabler {
        struct lttng_enabler base;
+       uint64_t error_counter_index;
        struct cds_list_head node;      /* per-app list of event_notifier enablers */
        struct cds_list_head capture_bytecode_head;
        struct lttng_event_notifier_group *group; /* weak ref */
@@ -133,7 +134,7 @@ int lttng_event_enabler_disable(struct lttng_event_enabler *enabler);
 LTTNG_HIDDEN
 int lttng_event_enabler_attach_filter_bytecode(
                struct lttng_event_enabler *enabler,
-               struct lttng_ust_bytecode_node *bytecode);
+               struct lttng_ust_bytecode_node **bytecode);
 
 /*
  * Attach an application context to an event enabler.
@@ -150,7 +151,7 @@ int lttng_event_enabler_attach_context(struct lttng_event_enabler *enabler,
  */
 LTTNG_HIDDEN
 int lttng_event_enabler_attach_exclusion(struct lttng_event_enabler *enabler,
-               struct lttng_ust_excluder_node *excluder);
+               struct lttng_ust_excluder_node **excluder);
 
 /*
  * Synchronize bytecodes for the enabler and the instance (event or
@@ -223,7 +224,7 @@ int lttng_event_notifier_enabler_disable(
 LTTNG_HIDDEN
 int lttng_event_notifier_enabler_attach_filter_bytecode(
                struct lttng_event_notifier_enabler *event_notifier_enabler,
-               struct lttng_ust_bytecode_node *bytecode);
+               struct lttng_ust_bytecode_node **bytecode);
 
 /*
  * Attach capture bytecode program to `struct lttng_event_notifier_enabler` and
@@ -241,7 +242,7 @@ int lttng_event_notifier_enabler_attach_capture_bytecode(
 LTTNG_HIDDEN
 int lttng_event_notifier_enabler_attach_exclusion(
                struct lttng_event_notifier_enabler *event_notifier_enabler,
-               struct lttng_ust_excluder_node *excluder);
+               struct lttng_ust_excluder_node **excluder);
 
 LTTNG_HIDDEN
 void lttng_free_event_notifier_filter_runtime(
@@ -254,4 +255,9 @@ void lttng_free_event_notifier_filter_runtime(
 LTTNG_HIDDEN
 int lttng_fix_pending_event_notifiers(void);
 
+LTTNG_HIDDEN
+struct lttng_counter *lttng_ust_counter_create(
+               const char *counter_transport_name,
+               size_t number_dimensions, const struct lttng_counter_dimension *dimensions);
+
 #endif /* _LTTNG_UST_EVENTS_INTERNAL_H */
This page took 0.02536 seconds and 4 git commands to generate.