From: Mathieu Desnoyers Date: Tue, 24 May 2011 15:02:37 +0000 (-0400) Subject: Update lttng ABI X-Git-Tag: v2.0-pre1~99 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=337495300c8b4e61ac3c86b5703c7d4cce2705ee;p=lttng-modules.git Update lttng ABI Signed-off-by: Mathieu Desnoyers --- diff --git a/ltt-debugfs-abi.h b/ltt-debugfs-abi.h index 1b8cc42c..c6edce31 100644 --- a/ltt-debugfs-abi.h +++ b/ltt-debugfs-abi.h @@ -65,17 +65,22 @@ struct lttng_kernel_tracer_version { uint32_t sublevel; }; +/* LTTng file descriptor ioctl */ #define LTTNG_KERNEL_SESSION _IO(0xF6, 0x40) -#define LTTNG_KERNEL_SESSION_START _IO(0xF6, 0x41) -#define LTTNG_KERNEL_SESSION_STOP _IO(0xF6, 0x42) +#define LTTNG_KERNEL_TRACER_VERSION \ + _IOR(0xF6, 0x41, struct lttng_kernel_tracer_version) + +/* Session FD ioctl */ +#define LTTNG_KERNEL_METADATA \ + _IOW(0xF6, 0x50, struct lttng_kernel_channel) #define LTTNG_KERNEL_CHANNEL \ - _IOW(0xF6, 0x43, struct lttng_kernel_channel) -#define LTTNG_KERNEL_STREAM _IO(0xF6, 0x44) + _IOW(0xF6, 0x51, struct lttng_kernel_channel) +#define LTTNG_KERNEL_SESSION_START _IO(0xF6, 0x52) +#define LTTNG_KERNEL_SESSION_STOP _IO(0xF6, 0x53) + +/* Channel FD ioctl */ +#define LTTNG_KERNEL_STREAM _IO(0xF6, 0x60) #define LTTNG_KERNEL_EVENT \ - _IOW(0xF6, 0x45, struct lttng_kernel_event) -#define LTTNG_KERNEL_METADATA \ - _IOW(0xF6, 0x46, struct lttng_kernel_channel) -#define LTTNG_KERNEL_TRACER_VERSION \ - _IOR(0xF6, 0x47, struct lttng_kernel_tracer_version) + _IOW(0xF6, 0x61, struct lttng_kernel_event) #endif /* _LTT_DEBUGFS_ABI_H */