X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fenable_events.cpp;h=b081adeeed7f3f68d7d97f57722002091c40bef0;hb=303ac4ed4037e45da1976c0951358ec19c5364d0;hp=f827c924d9c483ec50143fb9a1172845b7df6710;hpb=830bc99366f13bfb3d6fc975441aba7388cb7ca1;p=lttng-tools.git diff --git a/src/bin/lttng/commands/enable_events.cpp b/src/bin/lttng/commands/enable_events.cpp index f827c924d..b081adeee 100644 --- a/src/bin/lttng/commands/enable_events.cpp +++ b/src/bin/lttng/commands/enable_events.cpp @@ -717,8 +717,9 @@ int enable_events(const std::string& session_name, const event_rule_patterns& pa lttng_dynamic_pointer_array_get_count(&exclusions), (char **) exclusions.array.buffer.data); - auto exclusion_string = lttng::make_unique_wrapper( - print_exclusions(&exclusions)); + auto exclusion_string = + lttng::make_unique_wrapper( + print_exclusions(&exclusions)); if (!exclusion_string) { PERROR("Cannot allocate exclusion_string"); error = 1; @@ -820,8 +821,9 @@ int enable_events(const std::string& session_name, const event_rule_patterns& pa lttng_dynamic_pointer_array_get_count(&exclusions), (char **) exclusions.array.buffer.data); - auto exclusion_string = lttng::make_unique_wrapper( - print_exclusions(&exclusions)); + auto exclusion_string = + lttng::make_unique_wrapper( + print_exclusions(&exclusions)); if (!exclusion_string) { PERROR("Failed allocate exclusion string"); error = 1; @@ -1162,7 +1164,7 @@ int cmd_enable_events(int argc, const char **argv) if (!opt_session_name) { const auto rc_file_session_name = - lttng::make_unique_wrapper(get_session_name()); + lttng::make_unique_wrapper(get_session_name()); if (!rc_file_session_name) { return CMD_ERROR;