Version 2.4.4
[lttng-modules.git] / lttng-abi.h
index b028f1ec0b840a8ab3806f8798ac5f6ed6e93810..3f2aefbea04cd1fa52909c7a7fe5b76ec047ab6f 100644 (file)
@@ -187,6 +187,8 @@ struct lttng_kernel_context {
 #define LTTNG_RING_BUFFER_GET_PACKET_SIZE      _IOR(0xF6, 0x24, uint64_t)
 /* returns the stream id */
 #define LTTNG_RING_BUFFER_GET_STREAM_ID                _IOR(0xF6, 0x25, uint64_t)
+/* returns the current timestamp */
+#define LTTNG_RING_BUFFER_GET_CURRENT_TIMESTAMP        _IOR(0xF6, 0x26, uint64_t)
 
 #ifdef CONFIG_COMPAT
 /* returns the timestamp begin of the current sub-buffer */
@@ -207,6 +209,9 @@ struct lttng_kernel_context {
 /* returns the stream id */
 #define LTTNG_RING_BUFFER_COMPAT_GET_STREAM_ID \
        LTTNG_RING_BUFFER_GET_STREAM_ID
+/* returns the current timestamp */
+#define LTTNG_RING_BUFFER_COMPAT_GET_CURRENT_TIMESTAMP \
+       LTTNG_RING_BUFFER_GET_CURRENT_TIMESTAMP
 #endif /* CONFIG_COMPAT */
 
 #endif /* _LTTNG_ABI_H */
This page took 0.024302 seconds and 4 git commands to generate.