X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Flist.c;h=34a9c8aa0d612e7dc49ea78d9f0dbfa9d762230e;hp=4f4fcb5ef09c898157bbaa25a86fd88aea8de9b7;hb=1004b7191b421c7c07acf964d0110d93bb022699;hpb=e971184584781f70bbbfc52bbede8b9abf0436e5 diff --git a/src/bin/lttng/commands/list.c b/src/bin/lttng/commands/list.c index 4f4fcb5ef..34a9c8aa0 100644 --- a/src/bin/lttng/commands/list.c +++ b/src/bin/lttng/commands/list.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include "../command.h" @@ -576,7 +577,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);