From: Mathieu Desnoyers Date: Tue, 6 Dec 2011 04:59:57 +0000 (-0500) Subject: Fix add_loglevel entry setup X-Git-Tag: v1.9.1~21 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=2981744dd42b866ee3b5c5d57c307a96bffd47b1;p=lttng-ust.git Fix add_loglevel entry setup Signed-off-by: Mathieu Desnoyers --- diff --git a/liblttng-ust/ltt-probes.c b/liblttng-ust/ltt-probes.c index 00e5f06b..8571c84d 100644 --- a/liblttng-ust/ltt-probes.c +++ b/liblttng-ust/ltt-probes.c @@ -323,6 +323,7 @@ struct session_loglevel *add_loglevel(const char *name, CDS_INIT_LIST_HEAD(&sl->events); cds_list_add(&sl->list, &chan->session->loglevels); cds_list_add(&sl->session_list, &e->session_list); + sl->entry = e; _probes_create_loglevel_events(e, sl); return sl; }