Implement PID tracking for kernel tracing
[lttng-tools.git] / src / common / kernel-ctl / kernel-ctl.c
index b223ceac80f3bdab1a6ba6fd84d160802da6467e..7168c362c9fdf9785833006e8fa5e2c5911f6954 100644 (file)
@@ -217,6 +217,16 @@ end:
        return ret;
 }
 
+int kernctl_track_pid(int fd, int pid)
+{
+       return ioctl(fd, LTTNG_KERNEL_SESSION_TRACK_PID, pid);
+}
+
+int kernctl_untrack_pid(int fd, int pid)
+{
+       return ioctl(fd, LTTNG_KERNEL_SESSION_UNTRACK_PID, pid);
+}
+
 int kernctl_create_stream(int fd)
 {
        return compat_ioctl_no_arg(fd, LTTNG_KERNEL_OLD_STREAM,
This page took 0.024086 seconds and 5 git commands to generate.