Add kernctl_syscall_list
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 12 Sep 2014 16:10:29 +0000 (12:10 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Thu, 25 Sep 2014 15:36:07 +0000 (11:36 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/kernel-ctl/kernel-ctl.c
src/common/kernel-ctl/kernel-ctl.h
src/common/kernel-ctl/kernel-ioctl.h

index ce8d8a0eb1f4ec4df60d388589be6ab209673b4f..cb487853a3d3a68d5ef73493e1380fa3567d885e 100644 (file)
@@ -259,6 +259,11 @@ int kernctl_tracepoint_list(int fd)
                        LTTNG_KERNEL_TRACEPOINT_LIST);
 }
 
+int kernctl_syscall_list(int fd)
+{
+       return ioctl(fd, LTTNG_KERNEL_SYSCALL_LIST);
+}
+
 int kernctl_tracer_version(int fd, struct lttng_kernel_tracer_version *v)
 {
        int ret;
index b67e8e356e44e247f7b19036c4430f71917729b8..a20c689971615f86d907f5d8402b213ac10edd09 100644 (file)
@@ -36,6 +36,7 @@ int kernctl_start_session(int fd);
 int kernctl_stop_session(int fd);
 
 int kernctl_tracepoint_list(int fd);
+int kernctl_syscall_list(int fd);
 int kernctl_tracer_version(int fd, struct lttng_kernel_tracer_version *v);
 int kernctl_wait_quiescent(int fd);
 int kernctl_calibrate(int fd, struct lttng_kernel_calibrate *calibrate);
index 1db964e0023f3e232b354b2ef963e49752ce75b4..29a29a4a838b4c49a35e42f2ad6db7c025dd4cdd 100644 (file)
 #define LTTNG_KERNEL_SESSION                   _IO(0xF6, 0x45)
 #define LTTNG_KERNEL_TRACER_VERSION            \
        _IOR(0xF6, 0x46, struct lttng_kernel_tracer_version)
-#define LTTNG_KERNEL_TRACEPOINT_LIST           _IO(0xF6, 0x47)
+#define LTTNG_KERNEL_TRACEPOINT_LIST   _IO(0xF6, 0x47)
 #define LTTNG_KERNEL_WAIT_QUIESCENT            _IO(0xF6, 0x48)
 #define LTTNG_KERNEL_CALIBRATE                 \
        _IOWR(0xF6, 0x49, struct lttng_kernel_calibrate)
+#define LTTNG_KERNEL_SYSCALL_LIST              _IO(0xF6, 0x49)
 
 /* Session FD ioctl */
 #define LTTNG_KERNEL_METADATA                  \
This page took 0.026705 seconds and 4 git commands to generate.