X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttng-abi.h;h=b626b88e2c6b2b5eee0a49fd6b93133b8665175c;hb=3bc29f0a41b3c803245b845db2e1909042e72e9c;hp=b028f1ec0b840a8ab3806f8798ac5f6ed6e93810;hpb=3b731ab1a88c60e0a3a8eeddd225f751e821b1f3;p=lttng-modules.git diff --git a/lttng-abi.h b/lttng-abi.h index b028f1ec..b626b88e 100644 --- a/lttng-abi.h +++ b/lttng-abi.h @@ -79,6 +79,10 @@ struct lttng_kernel_function_tracer { char symbol_name[LTTNG_KERNEL_SYM_NAME_LEN]; }__attribute__((packed)); +struct lttng_kernel_syscall { + char disable; +} __attribute__((packed)); + /* * For syscall tracing, name = '\0' means "enable all". */ @@ -94,6 +98,7 @@ struct lttng_kernel_event { struct lttng_kernel_kretprobe kretprobe; struct lttng_kernel_kprobe kprobe; struct lttng_kernel_function_tracer ftrace; + struct lttng_kernel_syscall syscall; char padding[LTTNG_KERNEL_EVENT_PADDING2]; } u; }__attribute__((packed)); @@ -187,6 +192,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 +214,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 */