From: Mathieu Desnoyers Date: Mon, 15 Sep 2014 18:20:53 +0000 (-0400) Subject: Implement syscall mask ioctl X-Git-Tag: v2.6.0-rc1~39 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e80c363456757b8301a18a67479b056011719b20;p=lttng-tools.git Implement syscall mask ioctl Signed-off-by: Mathieu Desnoyers Signed-off-by: David Goulet --- 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 */