X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Flist.c;h=f4c97cbd1c345d669f5d95ee84b655ade3f51367;hb=a0377dfefe40662ba7d68617bce6ff467114136c;hp=4f4fcb5ef09c898157bbaa25a86fd88aea8de9b7;hpb=e971184584781f70bbbfc52bbede8b9abf0436e5;p=lttng-tools.git diff --git a/src/bin/lttng/commands/list.c b/src/bin/lttng/commands/list.c index 4f4fcb5ef..f4c97cbd1 100644 --- a/src/bin/lttng/commands/list.c +++ b/src/bin/lttng/commands/list.c @@ -13,11 +13,11 @@ #include #include #include -#include #include #include #include +#include #include #include "../command.h" @@ -425,7 +425,7 @@ static void print_events(struct lttng_event *event) /* Fall-through. */ default: /* We should never have "all" events in list. */ - assert(0); + abort(); break; } @@ -576,7 +576,7 @@ static int list_agent_events(void) goto error; } - agent_domain_str = get_domain_str(domain.type); + agent_domain_str = lttng_domain_type_str(domain.type); DBG("Getting %s tracing events", agent_domain_str);