X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fconfig%2Fconfig.h;h=9a5671ab0c138cb9d7d76d95225f1af524810696;hb=5cdb6027a2b78fd93aa7f61174625190b5fc3459;hp=f840dd05d56d1665bdd1b89848ce2049a62ae743;hpb=dcf266c050443412ec370bf86ddb3fddd2809eb9;p=lttng-tools.git diff --git a/src/common/config/config.h b/src/common/config/config.h index f840dd05d..9a5671ab0 100644 --- a/src/common/config/config.h +++ b/src/common/config/config.h @@ -19,6 +19,7 @@ #define _CONFIG_H #include +#include #include #include @@ -198,12 +199,13 @@ int config_writer_write_element_string(struct config_writer *writer, * sessions from path if NULL. * * override Override current session configuration if it exists. + * autoload Tell to load the auto session(s). * * Returns zero if the session could be loaded successfully. Returns * a negative LTTNG_ERR code on error. */ LTTNG_HIDDEN int config_load_session(const char *path, const char *session_name, - int override); + int override, unsigned int autoload); #endif /* _CONFIG_H */