Add wait quiescent
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 23 Jun 2011 21:06:11 +0000 (17:06 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 23 Jun 2011 21:06:11 +0000 (17:06 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
ltt-debugfs-abi.c

index c6d9f602bba8c451aa9518cd62a6b5e79bcb5306..6327d09a65d713fde5e6dd36dbf269163f9ad257 100644 (file)
@@ -212,6 +212,9 @@ long lttng_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
                                (struct lttng_kernel_tracer_version __user *) arg);
        case LTTNG_KERNEL_TRACEPOINT_LIST:
                return lttng_abi_tracepoint_list();
+       case LTTNG_KERNEL_WAIT_QUIESCENT:
+               synchronize_trace();
+               return 0;
        default:
                return -ENOIOCTLCMD;
        }
This page took 0.0261 seconds and 4 git commands to generate.