projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
consumer: fix: possible unaligned access in packed structure
[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 4911d86c2ba7b93e6d6efe2370c830de86203f6e..6a256fefd00fa06b107c61aff78ea09151e63627 100644
(file)
--- a/
src/common/kernel-ctl/kernel-ctl.c
+++ b/
src/common/kernel-ctl/kernel-ctl.c
@@
-408,6
+408,11
@@
int kernctl_buffer_flush(int fd)
return LTTNG_IOCTL_CHECK(fd, RING_BUFFER_FLUSH);
}
return LTTNG_IOCTL_CHECK(fd, RING_BUFFER_FLUSH);
}
+int kernctl_buffer_flush_empty(int fd)
+{
+ return LTTNG_IOCTL_CHECK(fd, RING_BUFFER_FLUSH_EMPTY);
+}
+
/* 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.023361 seconds
and
4
git commands to generate.