projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lttng: enable-channel: move kernel tracer status check to util
[lttng-tools.git]
/
src
/
bin
/
lttng
/
utils.hpp
diff --git
a/src/bin/lttng/utils.hpp
b/src/bin/lttng/utils.hpp
index 75b91df196d76257565a5c009ae3b654591cfb9d..d790e74d4f8bed24b89cbe768656c202df311266 100644
(file)
--- a/
src/bin/lttng/utils.hpp
+++ b/
src/bin/lttng/utils.hpp
@@
-14,6
+14,7
@@
#include <common/make-unique-wrapper.hpp>
#include <lttng/lttng.h>
#include <common/make-unique-wrapper.hpp>
#include <lttng/lttng.h>
+#include <lttng/session-internal.hpp>
#include <iterator>
#include <memory>
#include <iterator>
#include <memory>
@@
-66,9
+67,7
@@
public:
{
}
{
}
- std::unique_ptr<lttng_session[],
- lttng::memory::create_deleter_class<lttng_session, lttng::free>::deleter>
- _array = nullptr;
+ lttng_session_uptr _array = nullptr;
std::size_t _count = 0;
};
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);
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 */
#endif /* _LTTNG_UTILS_H */
This page took
0.023358 seconds
and
4
git commands to generate.