X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fsave.c;h=5e456154638846fe4e804fb917b5ee13d0b30ab8;hb=b04d42ec9ebc67b996615e6e5b52e0388778074b;hp=fe051966cdc6a568046b477a223b113d0bbaac19;hpb=30f9c3276ad06d4c2e30444ad1ce45e57f9ad708;p=lttng-tools.git diff --git a/src/bin/lttng/commands/save.c b/src/bin/lttng/commands/save.c index fe051966c..5e4561546 100644 --- a/src/bin/lttng/commands/save.c +++ b/src/bin/lttng/commands/save.c @@ -31,6 +31,7 @@ static char *opt_output_path; static int opt_force; static int opt_save_all; +static struct mi_writer *writer; enum { OPT_HELP = 1, @@ -49,8 +50,6 @@ static struct poptOption save_opts[] = { {0, 0, 0, 0, 0, 0, 0} }; -static struct mi_writer *writer; - static int mi_partial_session(const char *session_name) { int ret;