X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fsave.c;h=af01654cd450f4aa54c46bd9d0914982a22b62d1;hb=d88744a44aa5f2ca90ab87946692b9eed3120641;hp=b9bcc666d797cf0bb97fc0ec88c5eff2e508a141;hpb=4fc2b12601cd1bd62a6bbdb75f08f1d32cdb781f;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/save.c b/src/bin/lttng-sessiond/save.c index b9bcc666d..af01654cd 100644 --- a/src/bin/lttng-sessiond/save.c +++ b/src/bin/lttng-sessiond/save.c @@ -115,6 +115,13 @@ int save_kernel_channel_attributes(struct config_writer *writer, if (ret) { goto end; } + + ret = config_writer_write_element_signed_int(writer, + config_element_blocking_timeout, + ext->blocking_timeout); + if (ret) { + goto end; + } } end: @@ -171,6 +178,13 @@ int save_ust_channel_attributes(struct config_writer *writer, goto end; } + ret = config_writer_write_element_signed_int(writer, + config_element_blocking_timeout, + attr->u.s.blocking_timeout); + if (ret) { + goto end; + } + /* * Fetch the monitor timer which is located in the parent of * lttng_ust_channel_attr @@ -1659,7 +1673,7 @@ int save_consumer_output(struct config_writer *writer, switch (output->type) { case CONSUMER_DST_LOCAL: ret = config_writer_write_element_string(writer, - config_element_path, output->dst.trace_path); + config_element_path, output->dst.session_root_path); if (ret) { ret = LTTNG_ERR_SAVE_IO_FAIL; goto end;