kernel: Add new counter ABI IOCTL macros
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Fri, 28 May 2021 20:18:05 +0000 (16:18 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 15 Jul 2024 21:16:19 +0000 (17:16 -0400)
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Depends-on: lttng-ust: I1a706cf60059c7106525cf484d4a290c38e197c7
Depends-on: lttng-modules: Ide6aa85f4fc6055b7b76604b107094373d0bf874
Change-Id: I1a1d8f265e42e68632863127721e755f7948b660

src/common/kernel-ctl/kernel-ioctl.hpp

index 45b01821a997c38989d4bf8990ee9f29f168705a..b2df4ff4c5f12e1f47b49b6063dae92a23e5cbb3 100644 (file)
 #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
This page took 0.025869 seconds and 4 git commands to generate.