From: compudj Date: Sat, 30 Jul 2005 00:47:20 +0000 (+0000) Subject: lttctl : size + n subbufs + align options X-Git-Tag: v0.12.20~2491 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=1ae7a3c0765611309ccaeeb269fc97b555ca9194;p=lttv.git lttctl : size + n subbufs + align options git-svn-id: http://ltt.polymtl.ca/svn@998 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttctl/lttctl.c b/ltt/branches/poly/lttctl/lttctl.c index 511b426c..6895390d 100644 --- a/ltt/branches/poly/lttctl/lttctl.c +++ b/ltt/branches/poly/lttctl/lttctl.c @@ -323,6 +323,8 @@ int main(int argc, char ** argv) case CTL_OP_CREATE: ret = lttctl_create_trace(handle, trace_name, mode, subbuf_size, n_subbufs); + if(alignment != 0) + ret |= lttctl_align(handle, trace_name, alignment); break; case CTL_OP_DESTROY: ret = lttctl_destroy_trace(handle, trace_name); @@ -336,6 +338,8 @@ int main(int argc, char ** argv) case CTL_OP_DAEMON: ret = lttctl_daemon(handle, trace_name); break; + case CTL_OP_ALIGN: + ret = lttctl_align(handle, trace_name, alignment); case CTL_OP_NONE: break; }