From: Mathieu Desnoyers Date: Thu, 10 Nov 2011 20:20:03 +0000 (-0500) Subject: Fix metadata tp listing filtering X-Git-Tag: v1.9.1~109^2 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=3cdcba9d75a09df26be9d2fbcac3cdcd71e59917;p=lttng-ust.git Fix metadata tp listing filtering Signed-off-by: Mathieu Desnoyers --- diff --git a/liblttng-ust/lttng-ust-abi.c b/liblttng-ust/lttng-ust-abi.c index 8f38289b..ea0a1248 100644 --- a/liblttng-ust/lttng-ust-abi.c +++ b/liblttng-ust/lttng-ust-abi.c @@ -322,7 +322,7 @@ void lttng_metadata_create_events(int channel_objd) struct ltt_channel *channel = objd_private(channel_objd); static struct lttng_ust_event metadata_params = { .instrumentation = LTTNG_UST_TRACEPOINT, - .name = "lttng_metadata", + .name = "lttng:metadata", }; struct ltt_event *event; @@ -513,7 +513,7 @@ copy: if (!list->iter.tracepoint) { tp_list_entry[0] = '\0'; /* end of list */ } else { - if (!strcmp((*list->iter.tracepoint)->name, "metadata")) + if (!strcmp((*list->iter.tracepoint)->name, "lttng:metadata")) goto next; memcpy(tp_list_entry, (*list->iter.tracepoint)->name, LTTNG_UST_SYM_NAME_LEN);