From e80c363456757b8301a18a67479b056011719b20 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Mon, 15 Sep 2014 14:20:53 -0400 Subject: [PATCH] Implement syscall mask ioctl Signed-off-by: Mathieu Desnoyers Signed-off-by: David Goulet --- src/common/kernel-ctl/kernel-ioctl.h | 2 ++ src/common/lttng-kernel.h | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/src/common/kernel-ctl/kernel-ioctl.h b/src/common/kernel-ctl/kernel-ioctl.h index 29a29a4a8..c88f970bf 100644 --- a/src/common/kernel-ctl/kernel-ioctl.h +++ b/src/common/kernel-ctl/kernel-ioctl.h @@ -117,6 +117,8 @@ #define LTTNG_KERNEL_STREAM _IO(0xF6, 0x62) #define LTTNG_KERNEL_EVENT \ _IOW(0xF6, 0x63, struct lttng_kernel_event) +#define LTTNG_KERNEL_SYSCALL_MASK \ + _IOWR(0xF6, 0x64, struct lttng_kernel_syscall_mask) /* Event and Channel FD ioctl */ #define LTTNG_KERNEL_CONTEXT \ diff --git a/src/common/lttng-kernel.h b/src/common/lttng-kernel.h index 6124920fe..a4ca1825d 100644 --- a/src/common/lttng-kernel.h +++ b/src/common/lttng-kernel.h @@ -132,6 +132,11 @@ struct lttng_kernel_calibrate { enum lttng_kernel_calibrate_type type; /* type (input) */ } LTTNG_PACKED; +struct lttng_kernel_syscall_mask { + uint32_t len; + char mask[]; +} LTTNG_PACKED; + /* * kernel channel */ -- 2.34.1