projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sessiond: lttng: Add command to check kernel tracer status
[lttng-tools.git]
/
include
/
lttng
/
lttng.h
diff --git
a/include/lttng/lttng.h
b/include/lttng/lttng.h
index 929ce014e10b752f133c87589ff492bfb27e7efd..404a80117d50188f4d48491c7e65324862197087 100644
(file)
--- a/
include/lttng/lttng.h
+++ b/
include/lttng/lttng.h
@@
-53,6
+53,7
@@
#include <lttng/event.h>
#include <lttng/handle.h>
#include <lttng/health.h>
#include <lttng/event.h>
#include <lttng/handle.h>
#include <lttng/health.h>
+#include <lttng/kernel.h>
#include <lttng/kernel-probe.h>
#include <lttng/load.h>
#include <lttng/location.h>
#include <lttng/kernel-probe.h>
#include <lttng/load.h>
#include <lttng/location.h>
@@
-194,6
+195,13
@@
lttng_set_consumer_url(struct lttng_handle *handle, const char *control_url, con
*/
LTTNG_EXPORT extern int lttng_data_pending(const char *session_name);
*/
LTTNG_EXPORT extern int lttng_data_pending(const char *session_name);
+/*
+ * Gets the status of the kernel tracer.
+ *
+ * Sets the value of the argument, which must not be null.
+ */
+LTTNG_EXPORT extern enum lttng_error_code lttng_get_kernel_tracer_status(enum lttng_kernel_tracer_status *status);
+
/*
* Deprecated, replaced by lttng_regenerate_metadata.
*/
/*
* Deprecated, replaced by lttng_regenerate_metadata.
*/
This page took
0.024302 seconds
and
4
git commands to generate.