X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Flttng-ust-comm.h;h=e896f1a1015f3e52f042c0f8df1b8e3724715d5e;hb=8b62831e4788915a0cc2726794086d2b9eb6bd46;hp=b73657eca2f4dfe97ddaa74d2bb8c793277df147;hpb=46050b1a32de8dd0a7b65347af630c4a77f433a1;p=lttng-ust.git diff --git a/include/lttng-ust-comm.h b/include/lttng-ust-comm.h index b73657ec..e896f1a1 100644 --- a/include/lttng-ust-comm.h +++ b/include/lttng-ust-comm.h @@ -30,6 +30,14 @@ #include #include +/* + * Default timeout the application waits for the sessiond to send its + * "register done" command. Can be overridden with the environment + * variable "UST_REGISTER_TIMEOUT". Note that if the sessiond is not + * found, the application proceeds directly without any delay. + */ +#define LTTNG_UST_DEFAULT_CONSTRUCTOR_TIMEOUT_MS 3000 + #define LTTNG_RUNDIR "/var/run/lttng" /* Default unix socket path */