From aa1419550b1157d1455b53d29aa7b0cfcccf8b07 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Tue, 27 Mar 2012 16:15:20 -0400 Subject: [PATCH] Fix multi-session wildcard support Incorrectly unset loglevel information upon creation of wildcard_entry was causing a second session with wildcard enabled to not record its events. Signed-off-by: Mathieu Desnoyers --- liblttng-ust/ltt-events.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/liblttng-ust/ltt-events.c b/liblttng-ust/ltt-events.c index 2613d513..1e058b20 100644 --- a/liblttng-ust/ltt-events.c +++ b/liblttng-ust/ltt-events.c @@ -1356,6 +1356,8 @@ struct session_wildcard *add_wildcard(struct ltt_channel *chan, if (!e) return ERR_PTR(-ENOMEM); memcpy(&e->name[0], event_param->name, name_len); + e->loglevel_type = event_param->loglevel_type; + e->loglevel = event_param->loglevel; cds_list_add(&e->list, &wildcard_list); CDS_INIT_LIST_HEAD(&e->session_list); } -- 2.34.1