projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lttctl : size + n subbufs + align options
[lttv.git]
/
ltt
/
branches
/
poly
/
lttctl
/
lttctl.c
diff --git
a/ltt/branches/poly/lttctl/lttctl.c
b/ltt/branches/poly/lttctl/lttctl.c
index 511b426ccd179e8849974e98ad0e309789f3f257..6895390d1aa0de9894fab84c152fefcb226154e9 100644
(file)
--- 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);
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);
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_DAEMON:
ret = lttctl_daemon(handle, trace_name);
break;
+ case CTL_OP_ALIGN:
+ ret = lttctl_align(handle, trace_name, alignment);
case CTL_OP_NONE:
break;
}
case CTL_OP_NONE:
break;
}
This page took
0.034685 seconds
and
4
git commands to generate.