X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fkernel-ctl%2Fkernel-ioctl.h;h=5ee916b70bfa41c121db1879b56cf46e88b845ec;hp=f68d5d156ca5af9cba4d296de23065cf9f0a7658;hb=90aa04a116a8be510b9d256b47de6bbb4144fb8b;hpb=52894180cf9d44e1f13f467abafc1fd64ffb8c9e diff --git a/src/common/kernel-ctl/kernel-ioctl.h b/src/common/kernel-ctl/kernel-ioctl.h index f68d5d156..5ee916b70 100644 --- a/src/common/kernel-ctl/kernel-ioctl.h +++ b/src/common/kernel-ctl/kernel-ioctl.h @@ -160,6 +160,10 @@ #define LTTNG_KERNEL_ENABLE _IO(0xF6, 0x82) #define LTTNG_KERNEL_DISABLE _IO(0xF6, 0x83) +/* Event notifier group ioctl */ +#define LTTNG_KERNEL_COUNTER \ + _IOW(0xF6, 0x84, struct lttng_kernel_counter_conf) + /* Event and event notifier FD ioctl */ #define LTTNG_KERNEL_FILTER _IO(0xF6, 0x90) #define LTTNG_KERNEL_ADD_CALLSITE _IO(0xF6, 0x91) @@ -178,7 +182,16 @@ #define LTTNG_KERNEL_EVENT_NOTIFIER_GROUP_NOTIFICATION_FD \ _IO(0xF6, 0xB1) -/* Trigger file descriptor ioctl */ +/* Event notifier file descriptor ioctl */ #define LTTNG_KERNEL_CAPTURE _IO(0xF6, 0xB8) +/* Counter file descriptor ioctl */ +#define LTTNG_KERNEL_COUNTER_READ \ + IOWR(0xF6, 0xC0, struct lttng_kernel_counter_read) +#define LTTNG_KERNEL_COUNTER_AGGREGATE \ + _IOWR(0xF6, 0xC1, struct lttng_kernel_counter_aggregate) +#define LTTNG_KERNEL_COUNTER_CLEAR \ + _IOW(0xF6, 0xC2, struct lttng_kernel_counter_clear) + + #endif /* _LTT_KERNEL_IOCTL_H */