X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fdisable_events.c;fp=src%2Fbin%2Flttng%2Fcommands%2Fdisable_events.c;h=0bfd0c506c850e4fedca383615c13d67365a7006;hp=a42c3a3cd52849c044d9a61a7304113b0db7a56c;hb=1ceda6f154db93be802eeea64bc9eb49840fd402;hpb=54e92d5f4c74203b3aa555b7534fbb540664e0c8 diff --git a/src/bin/lttng/commands/disable_events.c b/src/bin/lttng/commands/disable_events.c index a42c3a3cd..0bfd0c506 100644 --- a/src/bin/lttng/commands/disable_events.c +++ b/src/bin/lttng/commands/disable_events.c @@ -16,6 +16,7 @@ #include #include +#include #include "../command.h" @@ -226,7 +227,7 @@ static int disable_events(char *session_name) enabled = 0; success = 1; MSG("All %s events of type %s are disabled in channel %s", - get_domain_str(dom.type), + lttng_domain_type_str(dom.type), print_event_type(opt_event_type), print_channel_name(channel_name)); } @@ -265,7 +266,7 @@ static int disable_events(char *session_name) enabled = 1; } else { MSG("%s %s of type %s disabled in channel %s for session %s", - get_domain_str(dom.type), + lttng_domain_type_str(dom.type), event_name, print_event_type(opt_event_type), print_channel_name(channel_name),