X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Futils.hpp;h=d790e74d4f8bed24b89cbe768656c202df311266;hb=4d4c8b8e68081f91347458b7e072dcfcac32385b;hp=75b91df196d76257565a5c009ae3b654591cfb9d;hpb=a1949b5a1a8efafc3231bb559e3dd42da7c81495;p=lttng-tools.git diff --git a/src/bin/lttng/utils.hpp b/src/bin/lttng/utils.hpp index 75b91df19..d790e74d4 100644 --- a/src/bin/lttng/utils.hpp +++ b/src/bin/lttng/utils.hpp @@ -14,6 +14,7 @@ #include #include +#include #include #include @@ -66,9 +67,7 @@ public: { } - std::unique_ptr::deleter> - _array = nullptr; + lttng_session_uptr _array = nullptr; std::size_t _count = 0; }; @@ -179,4 +178,10 @@ int print_trace_archive_location(const struct lttng_trace_archive_location *loca int validate_exclusion_list(const char *event_name, const struct lttng_dynamic_pointer_array *exclusions); +/* + * Ask the sessiond for the more details on the status of the kernel tracer and + * print it to stderr. + */ +void print_kernel_tracer_status_error(); + #endif /* _LTTNG_UTILS_H */