X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-abi.h;h=822b8839a4fa815868ae051b1f4cf7a4b0f76ba1;hb=c5b8e9ad696519bed135b0c9dfcf31730097f873;hp=e23393ff9e0a28b183f1c143dbfc2f9a1b7256c6;hpb=6cdc77f6f9d680b780e2eea0d1b09b289da675e2;p=lttng-modules.git diff --git a/lttng-abi.h b/lttng-abi.h index e23393ff..822b8839 100644 --- a/lttng-abi.h +++ b/lttng-abi.h @@ -30,7 +30,7 @@ * should be increased when an incompatible ABI change is done. */ #define LTTNG_MODULES_ABI_MAJOR_VERSION 2 -#define LTTNG_MODULES_ABI_MINOR_VERSION 1 +#define LTTNG_MODULES_ABI_MINOR_VERSION 2 #define LTTNG_KERNEL_SYM_NAME_LEN 256 @@ -197,8 +197,15 @@ struct lttng_kernel_filter_bytecode { _IOR(0xF6, 0x58, int32_t) #define LTTNG_KERNEL_SESSION_UNTRACK_PID \ _IOR(0xF6, 0x59, int32_t) +/* + * ioctl 0x58 and 0x59 are duplicated here. It works, since _IOR vs _IO + * are generating two different ioctl numbers, but this was not done on + * purpose. We should generally try to avoid those duplications. + */ #define LTTNG_KERNEL_SESSION_LIST_TRACKER_PIDS _IO(0xF6, 0x58) #define LTTNG_KERNEL_SESSION_METADATA_REGEN _IO(0xF6, 0x59) +/* 0x5A and 0x5B are reserved for a future ABI-breaking cleanup. */ +#define LTTNG_KERNEL_SESSION_STATEDUMP _IO(0xF6, 0x5C) /* Channel FD ioctl */ #define LTTNG_KERNEL_STREAM _IO(0xF6, 0x62)