X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttng-abi.h;h=3f2aefbea04cd1fa52909c7a7fe5b76ec047ab6f;hb=54c4c2e32771791ed5e84e2f8c100339bde7b77e;hp=b028f1ec0b840a8ab3806f8798ac5f6ed6e93810;hpb=3b731ab1a88c60e0a3a8eeddd225f751e821b1f3;p=lttng-modules.git diff --git a/lttng-abi.h b/lttng-abi.h index b028f1ec..3f2aefbe 100644 --- a/lttng-abi.h +++ b/lttng-abi.h @@ -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 */