Fix: ust-app: error counter index never set
[lttng-tools.git] / src / bin / lttng-sessiond / ust-app.c
index 54cd14ee3523955d28cd6ea4685a5f305a7170a9..a49600ec60d42f9f0b7c91ec7c31a810ed985748 100644 (file)
@@ -1271,6 +1271,8 @@ static struct ust_app_event_notifier_rule *alloc_ust_app_event_notifier_rule(
        assert(LTTNG_CONDITION_STATUS_OK == lttng_condition_on_event_get_rule(condition, &event_rule));
        assert(event_rule);
 
        assert(LTTNG_CONDITION_STATUS_OK == lttng_condition_on_event_get_rule(condition, &event_rule));
        assert(event_rule);
 
+       ua_event_notifier_rule->error_counter_index =
+                       lttng_condition_on_event_get_error_counter_index(condition);
        /* Acquire the event notifier's reference to the trigger. */
        lttng_trigger_get(trigger);
 
        /* Acquire the event notifier's reference to the trigger. */
        lttng_trigger_get(trigger);
 
This page took 0.02344 seconds and 4 git commands to generate.