lttctl : size + n subbufs + align options
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Sat, 30 Jul 2005 00:47:20 +0000 (00:47 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Sat, 30 Jul 2005 00:47:20 +0000 (00:47 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@998 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttctl/lttctl.c

index 511b426ccd179e8849974e98ad0e309789f3f257..6895390d1aa0de9894fab84c152fefcb226154e9 100644 (file)
@@ -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;
        }
This page took 0.025342 seconds and 4 git commands to generate.