From: Mathieu Desnoyers Date: Thu, 23 Jun 2011 21:06:11 +0000 (-0400) Subject: Add wait quiescent X-Git-Tag: v2.0-pre1~46 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=5f7f9078188863ab765d9120e9628b55dad18be0;p=lttng-modules.git Add wait quiescent Signed-off-by: Mathieu Desnoyers --- diff --git a/ltt-debugfs-abi.c b/ltt-debugfs-abi.c index c6d9f602..6327d09a 100644 --- a/ltt-debugfs-abi.c +++ b/ltt-debugfs-abi.c @@ -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; }