X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=ltt-sessiond%2Fkernel-ctl.c;h=ef3afb714bf1bebe6b96376f484f15044f2e4555;hp=1af82d9de3086ec0343158d5f6f9d9e1ce731c49;hb=cbbbb2757f90ecfc8bc2f51ba5bad8ed614577bb;hpb=3000dc785dc25a265485f7b3f7bc3c023d2e67dd diff --git a/ltt-sessiond/kernel-ctl.c b/ltt-sessiond/kernel-ctl.c index 1af82d9de..ef3afb714 100644 --- a/ltt-sessiond/kernel-ctl.c +++ b/ltt-sessiond/kernel-ctl.c @@ -209,6 +209,8 @@ int kernel_create_event(struct lttng_event *ev, struct ltt_kernel_channel *chann /* Add event to event list */ cds_list_add(&event->list, &channel->events_list.head); + channel->event_count++; + DBG("Event %s created (fd: %d)", ev->name, event->fd); return 0;