From 1ae7a3c0765611309ccaeeb269fc97b555ca9194 Mon Sep 17 00:00:00 2001 From: compudj Date: Sat, 30 Jul 2005 00:47:20 +0000 Subject: [PATCH] lttctl : size + n subbufs + align options git-svn-id: http://ltt.polymtl.ca/svn@998 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttctl/lttctl.c | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- 2.34.1