From: Francis Deslauriers Date: Fri, 28 May 2021 20:18:05 +0000 (-0400) Subject: kernel: Add new counter ABI IOCTL macros X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=9efe29038e6f24e3be124c43a4a783d227ddf5fa;p=lttng-tools.git kernel: Add new counter ABI IOCTL macros Signed-off-by: Francis Deslauriers Signed-off-by: Jérémie Galarneau Depends-on: lttng-ust: I1a706cf60059c7106525cf484d4a290c38e197c7 Depends-on: lttng-modules: Ide6aa85f4fc6055b7b76604b107094373d0bf874 Change-Id: I1a1d8f265e42e68632863127721e755f7948b660 --- diff --git a/src/common/kernel-ctl/kernel-ioctl.hpp b/src/common/kernel-ctl/kernel-ioctl.hpp index 45b01821a..b2df4ff4c 100644 --- a/src/common/kernel-ctl/kernel-ioctl.hpp +++ b/src/common/kernel-ctl/kernel-ioctl.hpp @@ -170,7 +170,11 @@ #define LTTNG_KERNEL_ABI_COUNTER_READ IOWR(0xF6, 0xC0, struct lttng_kernel_abi_counter_read) #define LTTNG_KERNEL_ABI_COUNTER_AGGREGATE \ _IOWR(0xF6, 0xC1, struct lttng_kernel_abi_counter_aggregate) -#define LTTNG_KERNEL_ABI_COUNTER_CLEAR _IOW(0xF6, 0xC2, struct lttng_kernel_abi_counter_clear) +#define LTTNG_KERNEL_ABI_COUNTER_CLEAR _IOW(0xF6, 0xC2, struct lttng_kernel_abi_counter_clear) +#define LTTNG_KERNEL_ABI_COUNTER_MAP_NR_DESCRIPTORS _IOR(0xF6, 0xC3, uint64_t) +#define LTTNG_KERNEL_ABI_COUNTER_MAP_DESCRIPTOR \ + _IOWR(0xF6, 0xC4, struct lttng_kernel_abi_counter_map_descriptor) +#define LTTNG_KERNEL_ABI_COUNTER_EVENT _IOW(0xF6, 0xC5, struct lttng_kernel_abi_counter_event) /* * Those ioctl numbers use the wrong direction, but are kept for ABI backward