projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: destroy schedule attr
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
enable_rotation.c
diff --git
a/src/bin/lttng/commands/enable_rotation.c
b/src/bin/lttng/commands/enable_rotation.c
index 80fc495ba8de8dcbf94a76bf98cc9c164e3f8ef3..42aa45017d9b29b0eda022ccb5ace06b72399abf 100644
(file)
--- a/
src/bin/lttng/commands/enable_rotation.c
+++ b/
src/bin/lttng/commands/enable_rotation.c
@@
-36,6
+36,12
@@
static char *opt_session_name;
static struct mi_writer *writer;
static char *opt_session_name;
static struct mi_writer *writer;
+#ifdef LTTNG_EMBED_HELP
+static const char help_msg[] =
+#include <lttng-enable-rotation.1.h>
+;
+#endif
+
enum {
OPT_HELP = 1,
OPT_LIST_OPTIONS,
enum {
OPT_HELP = 1,
OPT_LIST_OPTIONS,
@@
-146,6
+152,7
@@
static int setup_rotate(char *session_name, uint64_t timer, uint64_t size)
error:
ret = -1;
end:
error:
ret = -1;
end:
+ lttng_rotation_schedule_attr_destroy(attr);
return ret;
}
return ret;
}
This page took
0.024612 seconds
and
4
git commands to generate.