projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Kernel-ctl: Expose kernel clear buffer operation
[lttng-tools.git]
/
src
/
common
/
kernel-ctl
/
kernel-ioctl.h
diff --git
a/src/common/kernel-ctl/kernel-ioctl.h
b/src/common/kernel-ctl/kernel-ioctl.h
index 3c4f4129e63c8c0129521ca9ad617599927a3ce3..139cb635fa47b2aeb7ff9df7c3d7119a3ea83a7a 100644
(file)
--- a/
src/common/kernel-ctl/kernel-ioctl.h
+++ b/
src/common/kernel-ctl/kernel-ioctl.h
@@
-59,6
+59,13
@@
#define RING_BUFFER_SNAPSHOT_SAMPLE_POSITIONS _IO(0xF6, 0x0E)
/* Flush the current sub-buffer, even if empty. */
#define RING_BUFFER_FLUSH_EMPTY _IO(0xF6, 0x0F)
#define RING_BUFFER_SNAPSHOT_SAMPLE_POSITIONS _IO(0xF6, 0x0E)
/* Flush the current sub-buffer, even if empty. */
#define RING_BUFFER_FLUSH_EMPTY _IO(0xF6, 0x0F)
+/*
+ * Reset the position of what has been consumed from the metadata cache to 0
+ * so it can be read again.
+ */
+#define RING_BUFFER_METADATA_CACHE_DUMP _IO(0xF6, 0x10)
+/* Clear ring buffer content */
+#define RING_BUFFER_CLEAR _IO(0xF6, 0x11)
/* returns the timestamp begin of the current sub-buffer */
#define LTTNG_RING_BUFFER_GET_TIMESTAMP_BEGIN _IOR(0xF6, 0x20, uint64_t)
/* returns the timestamp begin of the current sub-buffer */
#define LTTNG_RING_BUFFER_GET_TIMESTAMP_BEGIN _IOR(0xF6, 0x20, uint64_t)
@@
-158,5
+165,6
@@
/* Event FD ioctl */
#define LTTNG_KERNEL_FILTER _IO(0xF6, 0x90)
/* Event FD ioctl */
#define LTTNG_KERNEL_FILTER _IO(0xF6, 0x90)
+#define LTTNG_KERNEL_ADD_CALLSITE _IO(0xF6, 0x91)
#endif /* _LTT_KERNEL_IOCTL_H */
#endif /* _LTT_KERNEL_IOCTL_H */
This page took
0.024101 seconds
and
5
git commands to generate.