X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Flist.c;h=4b8a07c48fc6aa29dc316711f8cf0774c6fbe334;hp=701ce83c05ba5e2e8715b1eb6aa5ecf8735719e4;hb=dad47fc4c65ec0acbfedc676895833b465d25cd6;hpb=d44c5520e024156944a70b8f32c40ccb41153042 diff --git a/src/bin/lttng/commands/list.c b/src/bin/lttng/commands/list.c index 701ce83c0..4b8a07c48 100644 --- a/src/bin/lttng/commands/list.c +++ b/src/bin/lttng/commands/list.c @@ -179,8 +179,9 @@ static void print_events(struct lttng_event *event) ret = snprintf(ll_value, LTTNG_SYMBOL_NAME_LEN, " (%lld)", (long long) event->loglevel_value); - if (ret < 0) + if (ret < 0) { ERR("snprintf error"); + } } MSG("%s%s%s%s%s%s (type: tracepoint)%s", indent6, event->name, @@ -215,11 +216,6 @@ static void print_events(struct lttng_event *event) MSG("%s (type: noop)%s", indent6, enabled_string(event->enabled)); break; - case LTTNG_EVENT_TRACEPOINT_LOGLEVEL: - MSG("%s%s (type: tracepoint loglevel)%s", indent6, - event->name, - enabled_string(event->enabled)); - break; case LTTNG_EVENT_ALL: /* We should never have "all" events in list. */ assert(0);