X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Flist.c;h=701ce83c05ba5e2e8715b1eb6aa5ecf8735719e4;hb=69892bbba677a6695b216046d586e58bfa0f82c9;hp=4b8a07c48fc6aa29dc316711f8cf0774c6fbe334;hpb=54bd3caf7aad612852d06c6b69a9190be25dbbcd;p=lttng-tools.git diff --git a/src/bin/lttng/commands/list.c b/src/bin/lttng/commands/list.c index 4b8a07c48..701ce83c0 100644 --- a/src/bin/lttng/commands/list.c +++ b/src/bin/lttng/commands/list.c @@ -179,9 +179,8 @@ 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, @@ -216,6 +215,11 @@ 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);