X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttng-abi.h;h=9b9a2323b66f20f26eb498027f0e507728e5cc2b;hb=f23d31653d15ee5b23a675d81499812b1f4a01cb;hp=e23393ff9e0a28b183f1c143dbfc2f9a1b7256c6;hpb=6cdc77f6f9d680b780e2eea0d1b09b289da675e2;p=lttng-modules.git diff --git a/lttng-abi.h b/lttng-abi.h index e23393ff..9b9a2323 100644 --- a/lttng-abi.h +++ b/lttng-abi.h @@ -197,6 +197,11 @@ 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)