projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean-up: action-executor: typo and missing tab
[lttng-tools.git]
/
src
/
common
/
kernel-ctl
/
kernel-ctl.c
diff --git
a/src/common/kernel-ctl/kernel-ctl.c
b/src/common/kernel-ctl/kernel-ctl.c
index caae421fc357e3718dfecaab90fda19dee87c4a0..4470e77177d104011e88b37a0096b0036f6f61b0 100644
(file)
--- a/
src/common/kernel-ctl/kernel-ctl.c
+++ b/
src/common/kernel-ctl/kernel-ctl.c
@@
-14,7
+14,7
@@
#include <string.h>
#include <common/align.h>
#include <common/macros.h>
#include <string.h>
#include <common/align.h>
#include <common/macros.h>
-#include <errno.h>
+#include <
common/compat/
errno.h>
#include <stdarg.h>
#include <assert.h>
#include <common/time.h>
#include <stdarg.h>
#include <assert.h>
#include <common/time.h>
@@
-510,6
+510,13
@@
int kernctl_buffer_clear(int fd)
return LTTNG_IOCTL_CHECK(fd, RING_BUFFER_CLEAR);
}
return LTTNG_IOCTL_CHECK(fd, RING_BUFFER_CLEAR);
}
+int kernctl_get_next_subbuf_metadata_check(int fd, bool *consistent)
+{
+ return LTTNG_IOCTL_NO_CHECK(fd,
+ RING_RING_BUFFER_GET_NEXT_SUBBUF_METADATA_CHECK,
+ consistent);
+}
+
/* returns the version of the metadata. */
int kernctl_get_metadata_version(int fd, uint64_t *version)
{
/* returns the version of the metadata. */
int kernctl_get_metadata_version(int fd, uint64_t *version)
{
This page took
0.023491 seconds
and
4
git commands to generate.